diff options
| author | Deval Shah <[email protected]> | 2018-11-16 11:38:46 -0800 |
|---|---|---|
| committer | Deval Shah <[email protected]> | 2018-11-16 11:38:46 -0800 |
| commit | de1b5702b2f12b8ca56b877fd1dd6f6b678aa397 (patch) | |
| tree | 8b04c0df959068ae3cd955e9d2781e3d56796d29 /libcuda | |
| parent | 1afe21bf29c7753e6e062a120c63f663c1b7c9d5 (diff) | |
changes for cuda 6.0
Diffstat (limited to 'libcuda')
| -rw-r--r-- | libcuda/cuda_runtime_api.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc index e429f3f..6346382 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -3738,7 +3738,7 @@ CUresult CUDAAPI cuModuleGetSurfRef(CUsurfref *pSurfRef, CUmodule hmod, const ch return CUDA_SUCCESS; } -#if CUDART_VERSION >= 5050 +#if CUDART_VERSION >= 6050 CUresult CUDAAPI cuLinkCreate(unsigned int numOptions, CUjit_option *options, void **optionValues, CUlinkState *stateOut) @@ -3794,6 +3794,9 @@ cuLinkAddFile(CUlinkState state, CUjitInputType type, const char *path, addedFile = true; return CUDA_SUCCESS; } +#endif + +#if CUDART_VERSION >= 5050 CUresult CUDAAPI cuLinkComplete(CUlinkState state, void **cubinOut, size_t *sizeOut) |
