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))
454454 set (CUDA_INCLUDE_DIRS
455455 ${cuda-headers_SOURCE_DIR}
456456 CACHE PATH "Path to CUDA headers" )
457- message (STATUS "CUDA include directory: ${CUDA_INCLUDE_DIRS} " )
457+ message (STATUS "CUDA_INCLUDE_DIRS = ${CUDA_INCLUDE_DIRS} " )
458458elseif (UMF_BUILD_CUDA_PROVIDER)
459459 # Only header is needed to build UMF
460460 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} " )
462462endif ()
463463
464464# 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) {
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 );
You can’t perform that action at this time.
0 commit comments