File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
test/unit_test/test_macros Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -127,10 +127,9 @@ function(generate_cpp_spirv builtin)
127127
128128 set (OUTPUT_LIST_SPV_FILES ${OUTPUT_LIST_SPV_FILES} ${OUTPUT_FILES_FOR_SPV} PARENT_SCOPE)
129129 set (OUTPUT_LIST_CPP_FILES ${OUTPUT_LIST_CPP_FILES} ${OUTPUT_FILE_CPP} PARENT_SCOPE)
130- string (TOLOWER ${DEFAULT_SUPPORTED_PLATFORM} DEF_PLATFORM)
131130 add_custom_command (
132131 OUTPUT ${GENERATED_SPV_INPUT}
133- COMMAND ${cloc_cmd_prefix} -q -spv_only -file ${INPUT_FILENAME} -device ${DEF_PLATFORM} - out_dir ${OUTPUTDIR} -output_no_suffix -options "-cl-kernel-arg-info"
132+ COMMAND ${cloc_cmd_prefix} -q -spv_only -file ${INPUT_FILENAME} -out_dir ${OUTPUTDIR} -output_no_suffix -options "-cl-kernel-arg-info"
134133 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
135134 DEPENDS ${INPUT_FILENAME} ocloc copy_compiler_files
136135 )
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ bool supportsSvm(const Device *pDevice);
2626
2727} // namespace NEO
2828
29+ #define REQUIRE_32BIT_OR_SKIP () \
30+ if (NEO::TestChecks::is64Bit() == true ) { \
31+ GTEST_SKIP (); \
32+ }
33+
2934#define REQUIRE_64BIT_OR_SKIP () \
3035 if (NEO::TestChecks::is64Bit() == false ) { \
3136 GTEST_SKIP (); \
You can’t perform that action at this time.
0 commit comments