File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ List of options provided by CMake:
112
112
| UR_USE_UBSAN | Enable UndefinedBehavior Sanitizer | ON/OFF | OFF |
113
113
| UR_USE_MSAN | Enable MemorySanitizer (clang only) | ON/OFF | OFF |
114
114
| UR_ENABLE_TRACING | Enable XPTI-based tracing layer | ON/OFF | OFF |
115
+ | UR_CONFORMANCE_TARGET_TRIPLES | SYCL triples to build CTS device binaries for | Comma-separated list | spir64 |
115
116
116
117
### Additional make targets
117
118
Original file line number Diff line number Diff line change @@ -64,9 +64,10 @@ if(DEFINED UR_DPCXX)
64
64
"${CMAKE_CURRENT_BINARY_DIR} /device_binaries/" )
65
65
file (MAKE_DIRECTORY ${UR_CONFORMANCE_DEVICE_BINARIES_DIR} )
66
66
67
- if (DEFINED UR_CONFORMANCE_TARGET_TRIPLES )
67
+ if (NOT " ${ UR_CONFORMANCE_TARGET_TRIPLES} " STREQUAL "" )
68
68
string (REPLACE "," ";" TARGET_TRIPLES ${UR_CONFORMANCE_TARGET_TRIPLES} )
69
69
else ()
70
+ message (WARNING "UR_CONFORMANCE_TARGET_TRIPLES wasn't set, defaulting to only generate spir64 device binaries" )
70
71
list (APPEND TARGET_TRIPLES "spir64" )
71
72
endif ()
72
73
You can’t perform that action at this time.
0 commit comments