summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-10 20:58:22 -0400
committerMengchi Zhang <[email protected]>2019-06-10 20:58:22 -0400
commita34d4295ca856297ad76d5a6408cdaa163554809 (patch)
tree0cff38c10f4f0ae71cd122a3486cc50a8680d812 /src
parentc68377b8eb2ce322e195a23062f5ba635dba546a (diff)
Remove definitions
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/abstract_hardware_model.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 7455f25..68cb693 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -174,9 +174,6 @@ enum _memory_op_t {
#if !defined(__VECTOR_TYPES_H__)
#include "vector_types.h"
-//struct dim3 {
-// unsigned int x, y, z;
-//};
#endif
struct dim3comp {
bool operator() (const dim3 & a, const dim3 & b) const
@@ -457,20 +454,6 @@ protected:
#include "builtin_types.h"
-//enum cudaChannelFormatKind {
-// cudaChannelFormatKindSigned,
-// cudaChannelFormatKindUnsigned,
-// cudaChannelFormatKindFloat
-//};
-
-//struct cudaChannelFormatDesc {
-// int x;
-// int y;
-// int z;
-// int w;
-// enum cudaChannelFormatKind f;
-//};
-
struct cudaArray {
void *devPtr;
int devPtr32;
@@ -481,28 +464,6 @@ struct cudaArray {
unsigned dimensions;
};
-//enum cudaTextureAddressMode {
-// cudaAddressModeWrap,
-// cudaAddressModeClamp
-//};
-
-//enum cudaTextureFilterMode {
-// cudaFilterModePoint,
-// cudaFilterModeLinear
-//};
-
-//enum cudaTextureReadMode {
-// cudaReadModeElementType,
-// cudaReadModeNormalizedFloat
-//};
-
-//struct textureReference {
-// int normalized;
-// enum cudaTextureFilterMode filterMode;
-// enum cudaTextureAddressMode addressMode[3];
-// struct cudaChannelFormatDesc channelDesc;
-//};
-
#endif
// Struct that record other attributes in the textureReference declaration