llvm
llvm copied to clipboard
[SYCL][DeviceSanitizer] Support GPU DG2 Device
UR: https://github.com/oneapi-src/unified-runtime/pull/1521
- Add MemToShadow_DG2
- Enable lit tests for GPU, decrease the global workgoup size in some tests due to the limit of GPU memory
Why did my e2e tests not run on "SYCL Pre Commit on Linux / test (E2E tests on Intel Arc A-Series Graphics" this machine? Should I configure something? Thanks!
Why did my e2e tests not run on "SYCL Pre Commit on Linux / test (E2E tests on Intel Arc A-Series Graphics" this machine? Should I configure something? Thanks!
Ok, I guess I've figured out some parts of the reason. But I still don't know why my tests are not list in this pre ci.
Why did my e2e tests not run on "SYCL Pre Commit on Linux / test (E2E tests on Intel Arc A-Series Graphics" this machine? Should I configure something? Thanks!
@AllanZyne the tests in this check run on L0 GPU + OCL GPU (logs), while E2E tests modified in this PR require CPU device (see // REQUIRES:
comment at the beginning of each test). If you need to run these tests on GPU as well, you need to modify the // REQUIRES:
comment.
Why did my e2e tests not run on "SYCL Pre Commit on Linux / test (E2E tests on Intel Arc A-Series Graphics" this machine? Should I configure something? Thanks!
@AllanZyne the tests in this check run on L0 GPU + OCL GPU (logs), while E2E tests modified in this PR require CPU device (see
// REQUIRES:
comment at the beginning of each test). If you need to run these tests on GPU, you need to modify the// REQUIRES:
comment.
Thanks! I also found this reason. I'll remove them later!
Hi @intel/llvm-reviewers-runtime @intel/unified-runtime-reviewers @intel/dpcpp-tools-reviewers , pre CI tests were passed, please review this PR. Thanks very much!
The Jenkins/Precommit checks have failed. Please make sure that the changes in https://github.com/oneapi-src/unified-runtime/pull/1521 are based on top of current main branch and point the UR tag to that new commit. Also pull in the latest sycl branch changes into this PR to make sure we're testing current code. Hopefully that resolves the issue.
Hi, how to force all pre ci tests to rerun? Thanks!
Hi @aelovikov-intel, did your comments have been addressed?
There's one issue need to fix in IGC (introduced by https://github.com/intel/llvm/pull/13503), therefore this PR has to be pending here
For GEN12 device, I tested this PR with latest igc driver and it passed. Maybe we need to wait igc driver upgrade here.
For GEN12 device, I tested this PR with latest igc driver and it passed. Maybe we need to wait igc driver upgrade here.
I skip checking GEN devices now, to prevent from blocking next release.
@intel/unified-runtime-reviewers, please review. Thanks!
@intel/llvm-gatekeepers could this merge? The failures are the same as reported in https://github.com/intel/llvm/issues/14715.
@AllanZyne - Following this PR a lot of address sanitizer tests started failing in post-commit on DG2:
SYCL :: AddressSanitizer/common/demangle-kernel-name.cpp
SYCL :: AddressSanitizer/common/kernel-debug.cpp
SYCL :: AddressSanitizer/misaligned/misalign-int.cpp
SYCL :: AddressSanitizer/misaligned/misalign-long.cpp
SYCL :: AddressSanitizer/misaligned/misalign-short.cpp
SYCL :: AddressSanitizer/multiple-reports/multiple_kernels.cpp
SYCL :: AddressSanitizer/multiple-reports/one_kernel.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global_image_scope.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/device_global_image_scope_unaligned.cpp
SYCL :: AddressSanitizer/out-of-bounds/DeviceGlobal/multi_device_images.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_char.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_func.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_int.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_for_short.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/parallel_no_local_size.cpp
SYCL :: AddressSanitizer/out-of-bounds/USM/unaligned_shadow_memory.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_2d.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_3d.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/buffer_copy_fill.cpp
SYCL :: AddressSanitizer/out-of-bounds/buffer/subbuffer.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/group_local_memory.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_basic.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_function.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/local_accessor_multiargs.cpp
SYCL :: AddressSanitizer/out-of-bounds/local/multiple_source.cpp
SYCL :: AddressSanitizer/out-of-bounds/private/multiple_private.cpp
SYCL :: AddressSanitizer/out-of-bounds/private/single_private.cpp
Can you please let us know if it is a simple fix or whether we'll have to revert this patch?
Can you please let us know if it is a simple fix or whether we'll have to revert this patch?
https://github.com/intel/llvm/pull/14720#issuecomment-2249798071 is suggesting to add gpu-intel-pvc
to the list of unsupported for the asan lit config.
@AllanZyne which part of this PR requires gpu driver uplift as mentioned in https://github.com/intel/llvm/pull/14720#issuecomment-2249798071?