{"active_device_name",CudaNdarray_active_device_name,METH_VARARGS,"Get the name of the active device."},
{"active_device_number",CudaNdarray_active_device_number,METH_VARARGS,"Get the number of the active device."},
{"gpu_shutdown",CudaNdarray_gpu_shutdown,METH_VARARGS,"Shut down the gpu."},
{"device_properties",GetDeviceProperties,METH_VARARGS,"Return a dictionary with the device properties."},
{"mem_info",GetDeviceMemInfo,METH_NOARGS,"Return a tuple with the free and total memory on the gpu in bytes."},
#if COMPUTE_GPU_MEM_USED
{"theano_allocated",GetTheanoAllocInfo,METH_NOARGS,"Return the size in bytes of memory Theano currently have allocated on the gpu."},
#endif
{"ptr_int_size",CudaNdarray_ptr_int_size,METH_VARARGS,"Return a tuple with the size of gpu pointer, cpu pointer and int in bytes."},
{"filter",filter,METH_VARARGS,"filter(obj, broadcastable, strict, storage) returns a CudaNdarray initialized to obj if it matches the constraints of broadcastable. strict=True prevents any numeric casting. If storage is a CudaNdarray it may be overwritten and used as the return value."},
{"outstanding_mallocs",outstanding_mallocs,METH_VARARGS,"how many more mallocs have been called than free's"},