forked from bartvdbraak/blender
77b7e1fe9a
For now it was mainly about OpenCL wrangler being duplicated between Cycles and Compositor, but with OpenSubdiv work those wranglers were gonna to be duplicated just once again. This commit makes it so Cycles and Compositor uses wranglers from this repositories: - https://github.com/CudaWrangler/cuew - https://github.com/OpenCLWrangler/clew This repositories are based on the wranglers we used before and they'll be likely continued maintaining by us plus some more players in the market. Pretty much straightforward change with some tricks in the CMake/SCons to make this libs being passed to the linker after all other libraries in order to make OpenSubdiv linked against those wranglers in the future. For those who're worrying about Cycles being less standalone, it's not truth, it's rather more flexible now and in the future different wranglers might be used in Cycles. For now it'll just mean those libs would need to be put into Cycles repository together with some other libs from Blender such as mikkspace. This is mainly platform maintenance commit, should not be any changes to the user space. Reviewers: juicyfruit, dingto, campbellbarton Reviewed By: juicyfruit, dingto, campbellbarton Differential Revision: https://developer.blender.org/D707
36 lines
1.8 KiB
Python
36 lines
1.8 KiB
Python
CUDA_ERRORS={
|
|
'CUDA_SUCCESS': "No errors",
|
|
'CUDA_ERROR_INVALID_VALUE': "Invalid value",
|
|
'CUDA_ERROR_OUT_OF_MEMORY': "Out of memory",
|
|
'CUDA_ERROR_NOT_INITIALIZED': "Driver not initialized",
|
|
'CUDA_ERROR_DEINITIALIZED': "Driver deinitialized",
|
|
'CUDA_ERROR_NO_DEVICE': "No CUDA-capable device available",
|
|
'CUDA_ERROR_INVALID_DEVICE': "Invalid device",
|
|
'CUDA_ERROR_INVALID_IMAGE': "Invalid kernel image",
|
|
'CUDA_ERROR_INVALID_CONTEXT': "Invalid context",
|
|
'CUDA_ERROR_CONTEXT_ALREADY_CURRENT': "Context already current",
|
|
'CUDA_ERROR_MAP_FAILED': "Map failed",
|
|
'CUDA_ERROR_UNMAP_FAILED': "Unmap failed",
|
|
'CUDA_ERROR_ARRAY_IS_MAPPED': "Array is mapped",
|
|
'CUDA_ERROR_ALREADY_MAPPED': "Already mapped",
|
|
'CUDA_ERROR_NO_BINARY_FOR_GPU': "No binary for GPU",
|
|
'CUDA_ERROR_ALREADY_ACQUIRED': "Already acquired",
|
|
'CUDA_ERROR_NOT_MAPPED': "Not mapped",
|
|
'CUDA_ERROR_NOT_MAPPED_AS_ARRAY': "Mapped resource not available for access as an array",
|
|
'CUDA_ERROR_NOT_MAPPED_AS_POINTER': "Mapped resource not available for access as a pointer",
|
|
'CUDA_ERROR_ECC_UNCORRECTABLE': "Uncorrectable ECC error detected",
|
|
'CUDA_ERROR_UNSUPPORTED_LIMIT': "CUlimit not supported by device",
|
|
'CUDA_ERROR_INVALID_SOURCE': "Invalid source",
|
|
'CUDA_ERROR_FILE_NOT_FOUND': "File not found",
|
|
'CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND': "Link to a shared object failed to resolve",
|
|
'CUDA_ERROR_SHARED_OBJECT_INIT_FAILED': "Shared object initialization failed",
|
|
'CUDA_ERROR_INVALID_HANDLE': "Invalid handle",
|
|
'CUDA_ERROR_NOT_FOUND': "Not found",
|
|
'CUDA_ERROR_NOT_READY': "CUDA not ready",
|
|
'CUDA_ERROR_LAUNCH_FAILED': "Launch failed",
|
|
'CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES': "Launch exceeded resources",
|
|
'CUDA_ERROR_LAUNCH_TIMEOUT': "Launch exceeded timeout",
|
|
'CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING': "Launch with incompatible texturing",
|
|
'CUDA_ERROR_UNKNOWN': "Unknown error",
|
|
}
|