Skip to content

Commit

Permalink
[SYCL][Libdevice] Build for spirv64 on Windows (intel#13649)
Browse files Browse the repository at this point in the history
The root cause for disabling it on Windows was fixed in
intel@d074475.

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
  • Loading branch information
sarnex committed May 3, 2024
1 parent 85037b2 commit f8926a6
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions libdevice/cmake/modules/SYCLLibdevice.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,8 @@ string(CONCAT sycl_targets_opt
"spir64_x86_64-unknown-unknown,"
"spir64_gen-unknown-unknown,"
"spir64_fpga-unknown-unknown,"
"spir64-unknown-unknown")

if (NOT WIN32)
# Don't build for spirv64 on Windows due to
# some type size difference issues.
# Build on Windows once internal tracker is fixed.
string(APPEND
sycl_targets_opt
",spirv64-unknown-unknown")
endif()
"spir64-unknown-unknown,"
"spirv64-unknown-unknown")

set(compile_opts
# suppress an error about SYCL_EXTERNAL being used for
Expand Down

0 comments on commit f8926a6

Please sign in to comment.