We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6047c18 commit e2670b8Copy full SHA for e2670b8
Publications/GPU-Opt-Guide/CMakeLists.txt
@@ -62,7 +62,7 @@ function(add_fortran_example_with_mkl name)
62
add_executable(${name} ${_sources})
63
add_sycl_to_target(TARGET ${name} SOURCES ${_sources})
64
target_compile_options(${name} PRIVATE -warn all)
65
- target_compile_options(${name} PRIVATE -fpp -free -i8)
+ target_compile_options(${name} PRIVATE -fpp -free -DMKL_ILP64 -i8)
66
set_target_properties(${name} PROPERTIES LINKER_LANGUAGE Fortran)
67
if (MKL_VERSION_2024)
68
target_link_libraries(${name} PUBLIC MKL::MKL_SYCL)
0 commit comments