make type attr always exist
@@ -10,8 +10,7 @@ cdef class PointerAttributes:
public int device
public intptr_t devicePointer
public intptr_t hostPointer
- IF CUDA_VERSION > 0:
- cdef readonly int type
+ readonly int type
cdef extern from *:
ctypedef int Error 'cudaError_t'
