Skip to content

Commit 4fd7361

Browse files
committed
refine code
1 parent e8a6d87 commit 4fd7361

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,11 @@ if(BUILD_XPU)
317317
-fsycl
318318
--offload-compress
319319
-fsycl-targets=intel_gpu_pvc
320-
-Xspirv-translator -spirv-ext=+SPV_INTEL_split_barrier,+SPV_INTEL_2d_block_io,+SPV_INTEL_subgroup_matrix_multiply_accumulate
320+
-Xspirv-translator -spirv-ext=+SPV_INTEL_split_barrier #,+SPV_INTEL_2d_block_io,+SPV_INTEL_subgroup_matrix_multiply_accumulate
321321
-Xs
322322
-options "-cl-intel-enable-auto-large-GRF-mode -cl-poison-unsupported-fp64-kernels -cl-intel-greater-than-4GB-buffer-required"
323323
)
324-
set(SYCL_COMPILE_FLAGS "-fsycl;-fhonor-nans;-fhonor-infinities;-fno-associative-math;-fno-approx-func;-fno-sycl-instrument-device-code;--offload-compress;-fsycl-targets=intel_gpu_pvc;-Xspirv-translator;-spirv-ext=+SPV_INTEL_split_barrier,+SPV_INTEL_2d_block_io,+SPV_INTEL_subgroup_matrix_multiply_accumulate;")
324+
set(SYCL_COMPILE_FLAGS "-fsycl;-fhonor-nans;-fhonor-infinities;-fno-associative-math;-fno-approx-func;-fno-sycl-instrument-device-code;--offload-compress;-fsycl-targets=intel_gpu_pvc;")
325325

326326
set_property(TARGET bitsandbytes PROPERTY CXX_STANDARD 20)
327327
target_compile_options(bitsandbytes PRIVATE ${SYCL_COMPILE_FLAGS})

run_case.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929

3030
#gdb -args python -m pytest -vs tests/test_xpu.py::TestXPU::test_gemm_4bit
31-
pytest -vs tests/test_xpu.py::TestXPU::test_gemm_4bit
32-
#python tests/test_xpu_db.py
31+
#pytest -vs tests/test_xpu.py::TestXPU::test_gemm_4bit
32+
python tests/test_xpu_db.py
3333
#gdb -args python tests/test_xpu_db.py
3434
#pytest tests/test_functional.py::TestQuantize4BitFunctional::test_gemv_4bit[dim=256-uint8-bf16-fc1-nf4-DQ_True-xpu]

0 commit comments

Comments
 (0)