File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -454,11 +454,11 @@ if(UMF_BUILD_CUDA_PROVIDER AND (NOT UMF_CUDA_INCLUDE_DIR))
454
454
set (CUDA_INCLUDE_DIRS
455
455
${cuda-headers_SOURCE_DIR}
456
456
CACHE PATH "Path to CUDA headers" )
457
- message (STATUS "CUDA include directory: ${CUDA_INCLUDE_DIRS} " )
457
+ message (STATUS "CUDA_INCLUDE_DIRS = ${CUDA_INCLUDE_DIRS} " )
458
458
elseif (UMF_BUILD_CUDA_PROVIDER )
459
459
# Only header is needed to build UMF
460
460
set (CUDA_INCLUDE_DIRS ${UMF_CUDA_INCLUDE_DIR} )
461
- message (STATUS "CUDA include directory: ${CUDA_INCLUDE_DIRS} " )
461
+ message (STATUS "CUDA_INCLUDE_DIRS = ${CUDA_INCLUDE_DIRS} " )
462
462
endif ()
463
463
464
464
# This build type check is not possible on Windows when CMAKE_BUILD_TYPE is not
Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ static umf_result_t cu2umf_result(CUresult result) {
150
150
return UMF_RESULT_ERROR_OUT_OF_HOST_MEMORY ;
151
151
case CUDA_ERROR_INVALID_VALUE :
152
152
case CUDA_ERROR_INVALID_HANDLE :
153
- case CUDA_ERROR_INVALID_RESOURCE_TYPE :
154
153
return UMF_RESULT_ERROR_INVALID_ARGUMENT ;
155
154
default :
156
155
cu_store_last_native_error (result );
You can’t perform that action at this time.
0 commit comments