Beispiel #1
0
# generated by 'xml2py'
# flags 'cublas.xml -c -d -v -l cublas'
from ctypes import *
from cuda.utils import get_lib
c_longdouble = c_double

_libraries = {}
_libraries['cublas'] = get_lib('cublas')
STRING = c_char_p


# ./my_CUDA2100_vector_types.h 55
class char1(Structure):
    pass
char1._fields_ = [
    # ./my_CUDA2100_vector_types.h 55
    ('x', c_byte),
]
# ./my_CUDA2100_vector_types.h 61
class uchar1(Structure):
    pass
uchar1._fields_ = [
    # ./my_CUDA2100_vector_types.h 61
    ('x', c_ubyte),
]
# ./my_CUDA2100_vector_types.h 67
class char2(Structure):
    pass
char2._fields_ = [
    # ./my_CUDA2100_vector_types.h 67
    ('x', c_byte),
Beispiel #2
0
# generated by 'xml2py'
# flags 'cufft.xml -c -d -v -l cufft'
from ctypes import *
from cuda.utils import get_lib
c_longdouble = c_double

_libraries = {}
_libraries['cufft'] = get_lib('cufft')


CUFFT_ALLOC_FAILED = 2
CUFFT_SETUP_FAILED = 7
CUFFT_C2C = 41
CUFFT_INVALID_SIZE = 8
CUFFT_INVALID_VALUE = 4
CUFFT_SUCCESS = 0
CUFFT_INTERNAL_ERROR = 5
CUFFT_INVALID_PLAN = 1
CUFFT_R2C = 42
CUFFT_EXEC_FAILED = 6
CUFFT_C2R = 44
CUFFT_INVALID_TYPE = 3
# ./my_CUDA2100_vector_types.h 55
class char1(Structure):
    pass
char1._fields_ = [
    # ./my_CUDA2100_vector_types.h 55
    ('x', c_byte),
]
# ./my_CUDA2100_vector_types.h 61
class uchar1(Structure):
Beispiel #3
0
# generated by 'xml2py'
# flags 'cufft.xml -c -d -v -l cufft'
from ctypes import *
from cuda.utils import get_lib
c_longdouble = c_double

_libraries = {}
_libraries['cufft'] = get_lib('cufft')

CUFFT_ALLOC_FAILED = 2
CUFFT_SETUP_FAILED = 7
CUFFT_C2C = 41
CUFFT_INVALID_SIZE = 8
CUFFT_INVALID_VALUE = 4
CUFFT_SUCCESS = 0
CUFFT_INTERNAL_ERROR = 5
CUFFT_INVALID_PLAN = 1
CUFFT_R2C = 42
CUFFT_EXEC_FAILED = 6
CUFFT_C2R = 44
CUFFT_INVALID_TYPE = 3


# ./my_CUDA2100_vector_types.h 55
class char1(Structure):
    pass


char1._fields_ = [
    # ./my_CUDA2100_vector_types.h 55
    ('x', c_byte),