DPCT3002#
Message#
“<Library specific to CUDA>” is removed because it is not supported for use alongside option “-fsycl” of SYCL compiler. You may need to check the build options.
Detailed Help#
“<Library specific to CUDA>” is removed because it is not supported for use alongside option “-fsycl” of SYCL compiler. You may need to check the build options.
Suggestions to Fix#
For example, this original CUDA* code:
1target_link_options(nvcv_util_compat
2PUBLIC
3 -static-libstdc++
4 -static-libgcc
5 -Wl,--wrap=__libc_start_main
6 -Wl,-u__cxa_thread_atexit_impl
7)
results in the following migrated CMake script:
1target_link_options(nvcv_util_compat
2PUBLIC
3 # DPCT3002:1: "-static-libstdc++" is removed because it is not supported for use
4 alongside option "-fsycl" of SYCL compiler. You may need to check the build
5 options.
6 -static-libgcc
7 -Wl,--wrap=__libc_start_main
8 -Wl,-u__cxa_thread_atexit_impl
9)
which is rewritten to:
1target_link_options(nvcv_util_compat
2PUBLIC
3 -static-libgcc
4 -Wl,--wrap=__libc_start_main
5 -Wl,-u__cxa_thread_atexit_impl
6)