Blender V2.61 - r43446
|
Go to the source code of this file.
#define CU_MEMHOSTALLOC_DEVICEMAP 0x02 |
Definition at line 280 of file util_cuda.h.
#define CU_MEMHOSTALLOC_PORTABLE 0x01 |
Definition at line 279 of file util_cuda.h.
#define CU_MEMHOSTALLOC_WRITECOMBINED 0x04 |
Definition at line 281 of file util_cuda.h.
#define CU_PARAM_TR_DEFAULT -1 |
Definition at line 362 of file util_cuda.h.
#define CU_TRSA_OVERRIDE_FORMAT 0x01 |
Definition at line 358 of file util_cuda.h.
Referenced by CUDADevice::tex_alloc().
#define CU_TRSF_NORMALIZED_COORDINATES 0x02 |
Definition at line 360 of file util_cuda.h.
Referenced by CUDADevice::tex_alloc().
#define CU_TRSF_READ_AS_INTEGER 0x01 |
Definition at line 359 of file util_cuda.h.
Referenced by CUDADevice::tex_alloc().
#define CU_TRSF_SRGB 0x10 |
Definition at line 361 of file util_cuda.h.
#define CUDA_ARRAY3D_2DARRAY 0x01 |
Definition at line 356 of file util_cuda.h.
#define CUDA_ARRAY3D_SURFACE_LDST 0x02 |
Definition at line 357 of file util_cuda.h.
#define CUDA_VERSION 3020 |
Definition at line 39 of file util_cuda.h.
#define CUDAAPI |
Definition at line 367 of file util_cuda.h.
typedef enum CUaddress_mode_enum CUaddress_mode |
typedef struct CUarray_st* CUarray |
Definition at line 51 of file util_cuda.h.
typedef enum CUarray_cubemap_face_enum CUarray_cubemap_face |
typedef enum CUarray_format_enum CUarray_format |
typedef enum CUcomputemode_enum CUcomputemode |
typedef struct CUctx_st* CUcontext |
Definition at line 48 of file util_cuda.h.
typedef enum CUctx_flags_enum CUctx_flags |
typedef struct CUDA_ARRAY3D_DESCRIPTOR_st CUDA_ARRAY3D_DESCRIPTOR |
typedef struct CUDA_ARRAY_DESCRIPTOR_st CUDA_ARRAY_DESCRIPTOR |
typedef struct CUDA_MEMCPY2D_st CUDA_MEMCPY2D |
typedef struct CUDA_MEMCPY3D_st CUDA_MEMCPY3D |
typedef int CUdevice |
Definition at line 47 of file util_cuda.h.
typedef enum CUdevice_attribute_enum CUdevice_attribute |
typedef unsigned int CUdeviceptr |
Definition at line 44 of file util_cuda.h.
typedef struct CUdevprop_st CUdevprop |
typedef struct CUevent_st* CUevent |
Definition at line 54 of file util_cuda.h.
typedef enum CUevent_flags_enum CUevent_flags |
typedef enum CUfilter_mode_enum CUfilter_mode |
typedef enum CUfunc_cache_enum CUfunc_cache |
typedef struct CUfunc_st* CUfunction |
Definition at line 50 of file util_cuda.h.
typedef enum CUfunction_attribute_enum CUfunction_attribute |
typedef enum CUgraphicsRegisterFlags_enum CUgraphicsRegisterFlags |
typedef struct CUgraphicsResource_st* CUgraphicsResource |
Definition at line 56 of file util_cuda.h.
typedef enum CUjit_fallback_enum CUjit_fallback |
typedef enum CUjit_option_enum CUjit_option |
typedef enum CUjit_target_enum CUjit_target |
typedef enum CUlimit_enum CUlimit |
typedef enum CUmemorytype_enum CUmemorytype |
typedef struct CUmod_st* CUmodule |
Definition at line 49 of file util_cuda.h.
typedef enum cudaError_enum CUresult |
typedef struct CUstream_st* CUstream |
Definition at line 55 of file util_cuda.h.
typedef struct CUsurfref_st* CUsurfref |
Definition at line 53 of file util_cuda.h.
typedef struct CUtexref_st* CUtexref |
Definition at line 52 of file util_cuda.h.
typedef CUresult CUDAAPI tcuArray3DCreate(CUarray *pHandle, const CUDA_ARRAY3D_DESCRIPTOR *pAllocateArray) |
Definition at line 446 of file util_cuda.h.
typedef CUresult CUDAAPI tcuArray3DGetDescriptor(CUDA_ARRAY3D_DESCRIPTOR *pArrayDescriptor, CUarray hArray) |
Definition at line 447 of file util_cuda.h.
typedef CUresult CUDAAPI tcuArrayCreate(CUarray *pHandle, const CUDA_ARRAY_DESCRIPTOR *pAllocateArray) |
Definition at line 443 of file util_cuda.h.
typedef CUresult CUDAAPI tcuArrayDestroy(CUarray hArray) |
Definition at line 445 of file util_cuda.h.
typedef CUresult CUDAAPI tcuArrayGetDescriptor(CUDA_ARRAY_DESCRIPTOR *pArrayDescriptor, CUarray hArray) |
Definition at line 444 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxAttach(CUcontext *pctx, unsigned int flags) |
Definition at line 383 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxCreate(CUcontext *pctx, unsigned int flags, CUdevice dev) |
Definition at line 381 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxDestroy(CUcontext ctx) |
Definition at line 382 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxDetach(CUcontext ctx) |
Definition at line 384 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxGetApiVersion(CUcontext ctx, unsigned int *version) |
Definition at line 393 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxGetCacheConfig(CUfunc_cache *pconfig) |
Definition at line 391 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxGetDevice(CUdevice *device) |
Definition at line 387 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxGetLimit(size_t *pvalue, CUlimit limit) |
Definition at line 390 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxPopCurrent(CUcontext *pctx) |
Definition at line 386 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxPushCurrent(CUcontext ctx) |
Definition at line 385 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxSetCacheConfig(CUfunc_cache config) |
Definition at line 392 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxSetCurrent(CUcontext ctx) |
Definition at line 498 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxSetLimit(CUlimit limit, size_t value) |
Definition at line 389 of file util_cuda.h.
typedef CUresult CUDAAPI tcuCtxSynchronize(void) |
Definition at line 388 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDeviceComputeCapability(int *major, int *minor, CUdevice dev) |
Definition at line 377 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDeviceGet(CUdevice *device, int ordinal) |
Definition at line 374 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDeviceGetAttribute(int *pi, CUdevice_attribute attrib, CUdevice dev) |
Definition at line 380 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDeviceGetCount(int *count) |
Definition at line 375 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDeviceGetName(char *name, int len, CUdevice dev) |
Definition at line 376 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDeviceGetProperties(CUdevprop *prop, CUdevice dev) |
Definition at line 379 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDeviceTotalMem(size_t *bytes, CUdevice dev) |
Definition at line 378 of file util_cuda.h.
typedef CUresult CUDAAPI tcuDriverGetVersion(int *driverVersion) |
Definition at line 373 of file util_cuda.h.
typedef CUresult CUDAAPI tcuEventCreate(CUevent *phEvent, unsigned int Flags) |
Definition at line 453 of file util_cuda.h.
typedef CUresult CUDAAPI tcuEventDestroy(CUevent hEvent) |
Definition at line 457 of file util_cuda.h.
typedef CUresult CUDAAPI tcuEventElapsedTime(float *pMilliseconds, CUevent hStart, CUevent hEnd) |
Definition at line 458 of file util_cuda.h.
typedef CUresult CUDAAPI tcuEventQuery(CUevent hEvent) |
Definition at line 455 of file util_cuda.h.
typedef CUresult CUDAAPI tcuEventRecord(CUevent hEvent, CUstream hStream) |
Definition at line 454 of file util_cuda.h.
typedef CUresult CUDAAPI tcuEventSynchronize(CUevent hEvent) |
Definition at line 456 of file util_cuda.h.
typedef CUresult CUDAAPI tcuFuncGetAttribute(int *pi, CUfunction_attribute attrib, CUfunction hfunc) |
Definition at line 461 of file util_cuda.h.
typedef CUresult CUDAAPI tcuFuncSetBlockShape(CUfunction hfunc, int x, int y, int z) |
Definition at line 459 of file util_cuda.h.
typedef CUresult CUDAAPI tcuFuncSetCacheConfig(CUfunction hfunc, CUfunc_cache config) |
Definition at line 462 of file util_cuda.h.
typedef CUresult CUDAAPI tcuFuncSetSharedSize(CUfunction hfunc, unsigned int bytes) |
Definition at line 460 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGetExportTable(const void **ppExportTable, const CUuuid *pExportTableId) |
Definition at line 494 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGLCtxCreate(CUcontext *pCtx, unsigned int Flags, CUdevice device) |
Definition at line 495 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsGLRegisterBuffer(CUgraphicsResource *pCudaResource, GLuint buffer, unsigned int Flags) |
Definition at line 496 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsGLRegisterImage(CUgraphicsResource *pCudaResource, GLuint image, GLenum target, unsigned int Flags) |
Definition at line 497 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsMapResources(unsigned int count, CUgraphicsResource *resources, CUstream hStream) |
Definition at line 492 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsResourceGetMappedPointer(CUdeviceptr *pDevPtr, size_t *pSize, CUgraphicsResource resource) |
Definition at line 490 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsResourceSetMapFlags(CUgraphicsResource resource, unsigned int flags) |
Definition at line 491 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsSubResourceGetMappedArray(CUarray *pArray, CUgraphicsResource resource, unsigned int arrayIndex, unsigned int mipLevel) |
Definition at line 489 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsUnmapResources(unsigned int count, CUgraphicsResource *resources, CUstream hStream) |
Definition at line 493 of file util_cuda.h.
typedef CUresult CUDAAPI tcuGraphicsUnregisterResource(CUgraphicsResource resource) |
Definition at line 488 of file util_cuda.h.
Definition at line 372 of file util_cuda.h.
typedef CUresult CUDAAPI tcuLaunch(CUfunction f) |
Definition at line 467 of file util_cuda.h.
typedef CUresult CUDAAPI tcuLaunchGrid(CUfunction f, int grid_width, int grid_height) |
Definition at line 468 of file util_cuda.h.
typedef CUresult CUDAAPI tcuLaunchGridAsync(CUfunction f, int grid_width, int grid_height, CUstream hStream) |
Definition at line 469 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemAlloc(CUdeviceptr *dptr, size_t bytesize) |
Definition at line 404 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemAllocHost(void **pp, size_t bytesize) |
Definition at line 408 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemAllocPitch(CUdeviceptr *dptr, size_t *pPitch, size_t WidthInBytes, size_t Height, unsigned int ElementSizeBytes) |
Definition at line 405 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpy2D(const CUDA_MEMCPY2D *pCopy) |
Definition at line 421 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpy2DAsync(const CUDA_MEMCPY2D *pCopy, CUstream hStream) |
Definition at line 429 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpy2DUnaligned(const CUDA_MEMCPY2D *pCopy) |
Definition at line 422 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpy3D(const CUDA_MEMCPY3D *pCopy) |
Definition at line 423 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpy3DAsync(const CUDA_MEMCPY3D *pCopy, CUstream hStream) |
Definition at line 430 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyAtoA(CUarray dstArray, size_t dstOffset, CUarray srcArray, size_t srcOffset, size_t ByteCount) |
Definition at line 420 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyAtoD(CUdeviceptr dstDevice, CUarray srcArray, size_t srcOffset, size_t ByteCount) |
Definition at line 417 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyAtoH(void *dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount) |
Definition at line 419 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyAtoHAsync(void *dstHost, CUarray srcArray, size_t srcOffset, size_t ByteCount, CUstream hStream) |
Definition at line 428 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyDtoA(CUarray dstArray, size_t dstOffset, CUdeviceptr srcDevice, size_t ByteCount) |
Definition at line 416 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyDtoD(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount) |
Definition at line 415 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyDtoDAsync(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) |
Definition at line 426 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyDtoH(void *dstHost, CUdeviceptr srcDevice, size_t ByteCount) |
Definition at line 414 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyDtoHAsync(void *dstHost, CUdeviceptr srcDevice, size_t ByteCount, CUstream hStream) |
Definition at line 425 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyHtoA(CUarray dstArray, size_t dstOffset, const void *srcHost, size_t ByteCount) |
Definition at line 418 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyHtoAAsync(CUarray dstArray, size_t dstOffset, const void *srcHost, size_t ByteCount, CUstream hStream) |
Definition at line 427 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyHtoD(CUdeviceptr dstDevice, const void *srcHost, size_t ByteCount) |
Definition at line 413 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemcpyHtoDAsync(CUdeviceptr dstDevice, const void *srcHost, size_t ByteCount, CUstream hStream) |
Definition at line 424 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemFree(CUdeviceptr dptr) |
Definition at line 406 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemFreeHost(void *p) |
Definition at line 409 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemGetAddressRange(CUdeviceptr *pbase, size_t *psize, CUdeviceptr dptr) |
Definition at line 407 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemGetInfo(size_t *free, size_t *total) |
Definition at line 403 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemHostAlloc(void **pp, size_t bytesize, unsigned int Flags) |
Definition at line 410 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemHostGetDevicePointer(CUdeviceptr *pdptr, void *p, unsigned int Flags) |
Definition at line 411 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemHostGetFlags(unsigned int *pFlags, void *p) |
Definition at line 412 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD16(CUdeviceptr dstDevice, unsigned short us, size_t N) |
Definition at line 432 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD16Async(CUdeviceptr dstDevice, unsigned short us, size_t N, CUstream hStream) |
Definition at line 438 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD2D16(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height) |
Definition at line 435 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD2D16Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned short us, size_t Width, size_t Height, CUstream hStream) |
Definition at line 441 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD2D32(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height) |
Definition at line 436 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD2D32Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned int ui, size_t Width, size_t Height, CUstream hStream) |
Definition at line 442 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD2D8(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height) |
Definition at line 434 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD2D8Async(CUdeviceptr dstDevice, size_t dstPitch, unsigned char uc, size_t Width, size_t Height, CUstream hStream) |
Definition at line 440 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD32(CUdeviceptr dstDevice, unsigned int ui, size_t N) |
Definition at line 433 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD32Async(CUdeviceptr dstDevice, unsigned int ui, size_t N, CUstream hStream) |
Definition at line 439 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD8(CUdeviceptr dstDevice, unsigned char uc, size_t N) |
Definition at line 431 of file util_cuda.h.
typedef CUresult CUDAAPI tcuMemsetD8Async(CUdeviceptr dstDevice, unsigned char uc, size_t N, CUstream hStream) |
Definition at line 437 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleGetFunction(CUfunction *hfunc, CUmodule hmod, const char *name) |
Definition at line 399 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleGetGlobal(CUdeviceptr *dptr, size_t *bytes, CUmodule hmod, const char *name) |
Definition at line 400 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleGetSurfRef(CUsurfref *pSurfRef, CUmodule hmod, const char *name) |
Definition at line 402 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleGetTexRef(CUtexref *pTexRef, CUmodule hmod, const char *name) |
Definition at line 401 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleLoad(CUmodule *module, const char *fname) |
Definition at line 394 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleLoadData(CUmodule *module, const void *image) |
Definition at line 395 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleLoadDataEx(CUmodule *module, const void *image, unsigned int numOptions, CUjit_option *options, void **optionValues) |
Definition at line 396 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleLoadFatBinary(CUmodule *module, const void *fatCubin) |
Definition at line 397 of file util_cuda.h.
typedef CUresult CUDAAPI tcuModuleUnload(CUmodule hmod) |
Definition at line 398 of file util_cuda.h.
typedef CUresult CUDAAPI tcuParamSetf(CUfunction hfunc, int offset, float value) |
Definition at line 465 of file util_cuda.h.
typedef CUresult CUDAAPI tcuParamSeti(CUfunction hfunc, int offset, unsigned int value) |
Definition at line 464 of file util_cuda.h.
typedef CUresult CUDAAPI tcuParamSetSize(CUfunction hfunc, unsigned int numbytes) |
Definition at line 463 of file util_cuda.h.
typedef CUresult CUDAAPI tcuParamSetTexRef(CUfunction hfunc, int texunit, CUtexref hTexRef) |
Definition at line 470 of file util_cuda.h.
typedef CUresult CUDAAPI tcuParamSetv(CUfunction hfunc, int offset, void *ptr, unsigned int numbytes) |
Definition at line 466 of file util_cuda.h.
typedef CUresult CUDAAPI tcuStreamCreate(CUstream *phStream, unsigned int Flags) |
Definition at line 448 of file util_cuda.h.
typedef CUresult CUDAAPI tcuStreamDestroy(CUstream hStream) |
Definition at line 452 of file util_cuda.h.
typedef CUresult CUDAAPI tcuStreamQuery(CUstream hStream) |
Definition at line 450 of file util_cuda.h.
typedef CUresult CUDAAPI tcuStreamSynchronize(CUstream hStream) |
Definition at line 451 of file util_cuda.h.
typedef CUresult CUDAAPI tcuStreamWaitEvent(CUstream hStream, CUevent hEvent, unsigned int Flags) |
Definition at line 449 of file util_cuda.h.
typedef CUresult CUDAAPI tcuSurfRefGetArray(CUarray *phArray, CUsurfref hSurfRef) |
Definition at line 487 of file util_cuda.h.
typedef CUresult CUDAAPI tcuSurfRefSetArray(CUsurfref hSurfRef, CUarray hArray, unsigned int Flags) |
Definition at line 486 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefCreate(CUtexref *pTexRef) |
Definition at line 484 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefDestroy(CUtexref hTexRef) |
Definition at line 485 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefGetAddress(CUdeviceptr *pdptr, CUtexref hTexRef) |
Definition at line 478 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefGetAddressMode(CUaddress_mode *pam, CUtexref hTexRef, int dim) |
Definition at line 480 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefGetArray(CUarray *phArray, CUtexref hTexRef) |
Definition at line 479 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefGetFilterMode(CUfilter_mode *pfm, CUtexref hTexRef) |
Definition at line 481 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefGetFlags(unsigned int *pFlags, CUtexref hTexRef) |
Definition at line 483 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefGetFormat(CUarray_format *pFormat, int *pNumChannels, CUtexref hTexRef) |
Definition at line 482 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefSetAddress(size_t *ByteOffset, CUtexref hTexRef, CUdeviceptr dptr, size_t bytes) |
Definition at line 472 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefSetAddress2D(CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR *desc, CUdeviceptr dptr, size_t Pitch) |
Definition at line 473 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefSetAddressMode(CUtexref hTexRef, int dim, CUaddress_mode am) |
Definition at line 475 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefSetArray(CUtexref hTexRef, CUarray hArray, unsigned int Flags) |
Definition at line 471 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefSetFilterMode(CUtexref hTexRef, CUfilter_mode fm) |
Definition at line 476 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefSetFlags(CUtexref hTexRef, unsigned int Flags) |
Definition at line 477 of file util_cuda.h.
typedef CUresult CUDAAPI tcuTexRefSetFormat(CUtexref hTexRef, CUarray_format fmt, int NumPackedComponents) |
Definition at line 474 of file util_cuda.h.
enum CUaddress_mode_enum |
CU_TR_ADDRESS_MODE_WRAP | |
CU_TR_ADDRESS_MODE_CLAMP | |
CU_TR_ADDRESS_MODE_MIRROR | |
CU_TR_ADDRESS_MODE_BORDER |
Definition at line 90 of file util_cuda.h.
CU_CUBEMAP_FACE_POSITIVE_X | |
CU_CUBEMAP_FACE_NEGATIVE_X | |
CU_CUBEMAP_FACE_POSITIVE_Y | |
CU_CUBEMAP_FACE_NEGATIVE_Y | |
CU_CUBEMAP_FACE_POSITIVE_Z | |
CU_CUBEMAP_FACE_NEGATIVE_Z |
Definition at line 227 of file util_cuda.h.
enum CUarray_format_enum |
CU_AD_FORMAT_UNSIGNED_INT8 | |
CU_AD_FORMAT_UNSIGNED_INT16 | |
CU_AD_FORMAT_UNSIGNED_INT32 | |
CU_AD_FORMAT_SIGNED_INT8 | |
CU_AD_FORMAT_SIGNED_INT16 | |
CU_AD_FORMAT_SIGNED_INT32 | |
CU_AD_FORMAT_HALF | |
CU_AD_FORMAT_FLOAT |
Definition at line 79 of file util_cuda.h.
enum CUcomputemode_enum |
Definition at line 178 of file util_cuda.h.
enum CUctx_flags_enum |
CU_CTX_SCHED_AUTO | |
CU_CTX_SCHED_SPIN | |
CU_CTX_SCHED_YIELD | |
CU_CTX_SCHED_MASK | |
CU_CTX_BLOCKING_SYNC | |
CU_CTX_MAP_HOST | |
CU_CTX_LMEM_RESIZE_TO_MAX | |
CU_CTX_FLAGS_MASK |
Definition at line 62 of file util_cuda.h.
enum cudaError_enum |
Definition at line 242 of file util_cuda.h.
Definition at line 102 of file util_cuda.h.
enum CUevent_flags_enum |
Definition at line 73 of file util_cuda.h.
enum CUfilter_mode_enum |
Definition at line 97 of file util_cuda.h.
enum CUfunc_cache_enum |
Definition at line 166 of file util_cuda.h.
Definition at line 155 of file util_cuda.h.
CU_GRAPHICS_MAP_RESOURCE_FLAGS_NONE | |
CU_GRAPHICS_MAP_RESOURCE_FLAGS_READ_ONLY | |
CU_GRAPHICS_MAP_RESOURCE_FLAGS_WRITE_DISCARD |
Definition at line 221 of file util_cuda.h.
Definition at line 217 of file util_cuda.h.
enum CUjit_fallback_enum |
Definition at line 210 of file util_cuda.h.
enum CUjit_option_enum |
Definition at line 184 of file util_cuda.h.
enum CUjit_target_enum |
CU_TARGET_COMPUTE_10 | |
CU_TARGET_COMPUTE_11 | |
CU_TARGET_COMPUTE_12 | |
CU_TARGET_COMPUTE_13 | |
CU_TARGET_COMPUTE_20 | |
CU_TARGET_COMPUTE_21 |
Definition at line 200 of file util_cuda.h.
enum CUlimit_enum |
Definition at line 236 of file util_cuda.h.
enum CUmemorytype_enum |
Definition at line 172 of file util_cuda.h.
string cuCompilerPath | ( | ) |
Definition at line 393 of file util_cuda.cpp.
References path_exists(), and path_join().
Referenced by CUDADevice::compile_kernel(), and cuLibraryInit().
CCL_NAMESPACE_BEGIN bool cuLibraryInit | ( | ) |
Definition at line 163 of file util_cuda.cpp.
References cuArray3DCreate, cuArray3DGetDescriptor, cuArrayCreate, cuArrayDestroy, cuArrayGetDescriptor, cuCompilerPath(), cuCtxAttach, cuCtxCreate, cuCtxDestroy, cuCtxDetach, cuCtxGetDevice, cuCtxGetLimit, cuCtxPopCurrent, cuCtxPushCurrent, cuCtxSetCurrent, cuCtxSetLimit, cuCtxSynchronize, CUDA_LIBRARY_FIND, CUDA_LIBRARY_FIND_CHECKED, CUDA_LIBRARY_FIND_V2, cuDeviceComputeCapability, cuDeviceGet, cuDeviceGetAttribute, cuDeviceGetCount, cuDeviceGetName, cuDeviceGetProperties, cuDeviceTotalMem, cuDriverGetVersion, cuEventCreate, cuEventDestroy, cuEventElapsedTime, cuEventQuery, cuEventRecord, cuEventSynchronize, cuFuncGetAttribute, cuFuncSetBlockShape, cuFuncSetCacheConfig, cuFuncSetSharedSize, cuGetExportTable, cuGLCtxCreate, cuGraphicsGLRegisterBuffer, cuGraphicsGLRegisterImage, cuGraphicsMapResources, cuGraphicsResourceGetMappedPointer, cuGraphicsResourceSetMapFlags, cuGraphicsSubResourceGetMappedArray, cuGraphicsUnmapResources, cuGraphicsUnregisterResource, cuInit, cuLaunch, cuLaunchGrid, cuLaunchGridAsync, cuMemAlloc, cuMemAllocHost, cuMemAllocPitch, cuMemcpy2D, cuMemcpy2DAsync, cuMemcpy2DUnaligned, cuMemcpy3D, cuMemcpy3DAsync, cuMemcpyAtoA, cuMemcpyAtoD, cuMemcpyAtoH, cuMemcpyAtoHAsync, cuMemcpyDtoA, cuMemcpyDtoD, cuMemcpyDtoDAsync, cuMemcpyDtoH, cuMemcpyDtoHAsync, cuMemcpyHtoA, cuMemcpyHtoAAsync, cuMemcpyHtoD, cuMemcpyHtoDAsync, cuMemFree, cuMemFreeHost, cuMemGetAddressRange, cuMemGetInfo, cuMemHostAlloc, cuMemHostGetDevicePointer, cuMemHostGetFlags, cuMemsetD16, cuMemsetD2D16, cuMemsetD2D32, cuMemsetD2D8, cuMemsetD32, cuMemsetD8, cuModuleGetFunction, cuModuleGetGlobal, cuModuleGetSurfRef, cuModuleGetTexRef, cuModuleLoad, cuModuleLoadData, cuModuleLoadDataEx, cuModuleLoadFatBinary, cuModuleUnload, cuParamSetf, cuParamSeti, cuParamSetSize, cuParamSetTexRef, cuParamSetv, cuStreamCreate, cuStreamDestroy, cuStreamQuery, cuStreamSynchronize, cuSurfRefGetArray, cuSurfRefSetArray, cuTexRefCreate, cuTexRefDestroy, cuTexRefGetAddress, cuTexRefGetAddressMode, cuTexRefGetArray, cuTexRefGetFilterMode, cuTexRefGetFlags, cuTexRefGetFormat, cuTexRefSetAddress, cuTexRefSetAddress2D, cuTexRefSetAddressMode, cuTexRefSetArray, cuTexRefSetFilterMode, cuTexRefSetFlags, cuTexRefSetFormat, dynamic_library_open(), and NULL.
Referenced by Device::available_devices(), Device::available_types(), and Device::create().
Definition at line 96 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 97 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 93 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 95 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_free().
Definition at line 94 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 40 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 38 of file util_cuda.cpp.
Referenced by CUDADevice::CUDADevice(), and cuLibraryInit().
Definition at line 39 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 41 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::~CUDADevice().
Definition at line 44 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 141 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 43 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 42 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 145 of file util_cuda.cpp.
Referenced by CUDADevice::cuda_pop_context(), CUDADevice::cuda_push_context(), and cuLibraryInit().
Definition at line 140 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 45 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::task_wait().
Definition at line 34 of file util_cuda.cpp.
Referenced by CUDADevice::compile_kernel(), cuLibraryInit(), CUDADevice::support_device(), and CUDADevice::support_full_kernel().
Definition at line 31 of file util_cuda.cpp.
Referenced by CUDADevice::CUDADevice(), and cuLibraryInit().
Definition at line 37 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and device_cuda_info().
Definition at line 32 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and device_cuda_info().
Definition at line 33 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::description(), and device_cuda_info().
Definition at line 36 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 35 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 30 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 123 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 127 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 128 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 125 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 124 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 126 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 91 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 89 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::path_trace(), CUDADevice::shader(), and CUDADevice::tonemap().
Definition at line 92 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::path_trace(), CUDADevice::shader(), and CUDADevice::tonemap().
Definition at line 90 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 139 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 142 of file util_cuda.cpp.
Referenced by CUDADevice::CUDADevice(), and cuLibraryInit().
Definition at line 143 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::pixels_alloc().
Definition at line 144 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 137 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::map_pixels().
Definition at line 135 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::map_pixels().
Definition at line 136 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 134 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 138 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::unmap_pixels().
Definition at line 133 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::pixels_free().
Definition at line 29 of file util_cuda.cpp.
Referenced by CUDADevice::CUDADevice(), cuLibraryInit(), and device_cuda_info().
Definition at line 120 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 121 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::path_trace(), CUDADevice::shader(), and CUDADevice::tonemap().
Definition at line 122 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 56 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::mem_alloc().
Definition at line 60 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 57 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 73 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 81 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 74 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 75 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 82 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 72 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 69 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 71 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 80 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 68 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 67 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 78 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 66 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::mem_copy_from().
Definition at line 77 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 70 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 79 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 65 of file util_cuda.cpp.
Referenced by CUDADevice::const_copy_to(), cuLibraryInit(), and CUDADevice::mem_copy_to().
Definition at line 76 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 58 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::mem_free().
Definition at line 61 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 59 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 55 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 62 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 63 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 64 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 84 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 87 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 88 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 86 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 85 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 83 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::mem_zero().
Definition at line 51 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::path_trace(), CUDADevice::shader(), and CUDADevice::tonemap().
Definition at line 52 of file util_cuda.cpp.
Referenced by CUDADevice::const_copy_to(), and cuLibraryInit().
Definition at line 54 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 53 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 46 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::load_kernels().
Definition at line 47 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 48 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 49 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 50 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 117 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 116 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::path_trace(), CUDADevice::shader(), and CUDADevice::tonemap().
Definition at line 115 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::path_trace(), CUDADevice::shader(), and CUDADevice::tonemap().
Definition at line 119 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 118 of file util_cuda.cpp.
Referenced by cuLibraryInit(), CUDADevice::path_trace(), CUDADevice::shader(), and CUDADevice::tonemap().
Definition at line 129 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 132 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 130 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 131 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 114 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 113 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 98 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 99 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 107 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 109 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 108 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 110 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 112 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 111 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 101 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 102 of file util_cuda.cpp.
Referenced by cuLibraryInit().
Definition at line 104 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 100 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 105 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 106 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().
Definition at line 103 of file util_cuda.cpp.
Referenced by cuLibraryInit(), and CUDADevice::tex_alloc().