Commit 7f553e51 authored by Paul's avatar Paul
Browse files

Disable cuda compat warning

parent c6560f37
...@@ -80,6 +80,8 @@ if(CMAKE_CXX_COMPILER MATCHES ".*hcc") ...@@ -80,6 +80,8 @@ if(CMAKE_CXX_COMPILER MATCHES ".*hcc")
target_compile_options(migraphx_device PRIVATE -amdgpu-target=${AMDGPU_TARGET}) target_compile_options(migraphx_device PRIVATE -amdgpu-target=${AMDGPU_TARGET})
target_link_libraries(migraphx_device -amdgpu-target=${AMDGPU_TARGET}) target_link_libraries(migraphx_device -amdgpu-target=${AMDGPU_TARGET})
endforeach() endforeach()
else()
target_compile_options(migraphx_device PRIVATE -Wno-cuda-compat)
endif() endif()
check_cxx_compiler_flag("--cuda-host-only -fhip-lambda-host-device -x hip" HAS_HIP_LAMBDA_HOST_DEVICE) check_cxx_compiler_flag("--cuda-host-only -fhip-lambda-host-device -x hip" HAS_HIP_LAMBDA_HOST_DEVICE)
if(HAS_HIP_LAMBDA_HOST_DEVICE) if(HAS_HIP_LAMBDA_HOST_DEVICE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment