Skip to content

Commit fdca1b0

Browse files
committed
Fix: remove CUDA_ERROR_INVALID_RESOURCE_TYPE
CUDA_ERROR_INVALID_RESOURCE_TYPE is not defined in CUDA v10.1 that is used in UR. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent f046ffd commit fdca1b0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/provider/provider_cuda.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ static umf_result_t cu2umf_result(CUresult result) {
150150
return UMF_RESULT_ERROR_OUT_OF_HOST_MEMORY;
151151
case CUDA_ERROR_INVALID_VALUE:
152152
case CUDA_ERROR_INVALID_HANDLE:
153-
case CUDA_ERROR_INVALID_RESOURCE_TYPE:
154153
return UMF_RESULT_ERROR_INVALID_ARGUMENT;
155154
default:
156155
cu_store_last_native_error(result);

0 commit comments

Comments
 (0)