Skip to content

Commit fb39ff2

Browse files
Add debug messages
Signed-off-by: Whitney Tsang <[email protected]>
1 parent 03829ce commit fb39ff2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
use_spirv_backend: ${{ inputs.use_spirv_backend }}
126126
command: >
127127
DEBUG=1
128+
source ./scripts/capture-hw-details.sh
128129
python -m build --wheel --no-isolation && pip install dist/*.whl
129130
130131
- name: Build PTI

third_party/intel/cmake/FindSPIRVToLLVMTranslator.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ if (NOT SPIRVToLLVMTranslator_FOUND)
2828

2929
# FIXME: Don't apply patch when LTS driver is updated.
3030
if(DEFINED ENV{AGAMA_VERSION} AND "$ENV{AGAMA_VERSION}" STREQUAL "1146")
31+
message(STATUS "Apply 3122.patch to SPIRV-LLVM-Translator")
3132
execute_process(
3233
COMMAND git apply --check ${CMAKE_CURRENT_LIST_DIR}/3122.patch
3334
WORKING_DIRECTORY ${spirv-llvm-translator_SOURCE_DIR}
@@ -50,6 +51,8 @@ if (NOT SPIRVToLLVMTranslator_FOUND)
5051
if(NOT PATCH_RESULT EQUAL 0)
5152
message(FATAL_ERROR "Failed to apply 3122.patch to SPIRV-LLVM-Translator")
5253
endif()
54+
else()
55+
message(STATUS "No need to apply 3122.patch to SPIRV-LLVM-Translator")
5356
endif()
5457

5558
# FIXME: Don't apply patch when Agama driver is updated to incorporate with the SPV_INTEL_bfloat16_arithmetic extension.

0 commit comments

Comments
 (0)