Skip to content

Commit e2670b8

Browse files
committed
Fix crashes in f_use_device_addr_01, dgemm_pad_f_01, dgemm_dispatch_f
1 parent 6047c18 commit e2670b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Publications/GPU-Opt-Guide/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function(add_fortran_example_with_mkl name)
6262
add_executable(${name} ${_sources})
6363
add_sycl_to_target(TARGET ${name} SOURCES ${_sources})
6464
target_compile_options(${name} PRIVATE -warn all)
65-
target_compile_options(${name} PRIVATE -fpp -free -i8)
65+
target_compile_options(${name} PRIVATE -fpp -free -DMKL_ILP64 -i8)
6666
set_target_properties(${name} PROPERTIES LINKER_LANGUAGE Fortran)
6767
if (MKL_VERSION_2024)
6868
target_link_libraries(${name} PUBLIC MKL::MKL_SYCL)

0 commit comments

Comments
 (0)