You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did innocent change in the code comments and to my surprise CI says my change does not pass pre-commit testing on HIP platform.
-- Testing: 2268 tests, 24 workers --
FAIL: SYCL :: syclcompat/memory/memory_management_test2.cpp (2237 of 2268)
******************** TEST 'SYCL :: syclcompat/memory/memory_management_test2.cpp' FAILED ********************
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 33
/__w/llvm/llvm/toolchain/bin//clang++ -Werror -Wno-error=#warnings -Wno-error=deprecated-declarations -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 /__w/llvm/llvm/llvm/sycl/test-e2e/syclcompat/memory/memory_management_test2.cpp -o /__w/llvm/llvm/build-e2e/syclcompat/memory/Output/memory_management_test2.cpp.tmp.out# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror '-Wno-error=#warnings' -Wno-error=deprecated-declarations -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 /__w/llvm/llvm/llvm/sycl/test-e2e/syclcompat/memory/memory_management_test2.cpp -o /__w/llvm/llvm/build-e2e/syclcompat/memory/Output/memory_management_test2.cpp.tmp.out# .---command stderr------------# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/syclcompat/memory/memory_management_test2.cpp:38:# | In file included from /__w/llvm/llvm/toolchain/bin/../include/syclcompat/memory.hpp:54:# | /__w/llvm/llvm/toolchain/bin/../include/syclcompat/device.hpp:470:2: warning: "Querying the number of bytes of free memory is not supported" [-W#warnings]# | 470 | #warning "Querying the number of bytes of free memory is not supported"# | | ^# | 1 warning generated.# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/syclcompat/memory/memory_management_test2.cpp:38:# | In file included from /__w/llvm/llvm/toolchain/bin/../include/syclcompat/memory.hpp:54:# | /__w/llvm/llvm/toolchain/bin/../include/syclcompat/device.hpp:470:2: warning: "Querying the number of bytes of free memory is not supported" [-W#warnings]# | 470 | #warning "Querying the number of bytes of free memory is not supported"# | | ^# | 1 warning generated.# `-----------------------------# RUN: at line 34
env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/syclcompat/memory/Output/memory_management_test2.cpp.tmp.out
# executed command: env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/syclcompat/memory/Output/memory_management_test2.cpp.tmp.out# .---command stdout------------# | void test_memcpy_kernel()# `-----------------------------# .---command stderr------------# | Memory access fault by GPU node-1 (Agent handle: 0x243ec490) on address 0x7fa3d19bc000. Reason: Page not present or supervisor privilege.# `-----------------------------# error: command failed with exit status: -6
--
********************
TIMEOUT: SYCL :: WorkGroupMemory/basic_usage.cpp (2268 of 2268)
******************** TEST 'SYCL :: WorkGroupMemory/basic_usage.cpp' FAILED ********************
Exit Code: -9
Timeout: Reached timeout of 600 seconds
Command Output (stdout):
--
# RUN: at line 1
/__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 /__w/llvm/llvm/llvm/sycl/test-e2e/WorkGroupMemory/basic_usage.cpp -o /__w/llvm/llvm/build-e2e/WorkGroupMemory/Output/basic_usage.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -Werror -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 /__w/llvm/llvm/llvm/sycl/test-e2e/WorkGroupMemory/basic_usage.cpp -o /__w/llvm/llvm/build-e2e/WorkGroupMemory/Output/basic_usage.cpp.tmp.out# note: command had no output on stdout or stderr# RUN: at line 2
env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/WorkGroupMemory/Output/basic_usage.cpp.tmp.out
# executed command: env UR_HIP_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/WorkGroupMemory/Output/basic_usage.cpp.tmp.out# note: command had no output on stdout or stderr# error: command failed with exit status: -9# error: command reached timeout: True
--
Describe the bug
I did innocent change in the code comments and to my surprise CI says my change does not pass pre-commit testing on HIP platform.
syclcompat/memory/memory_management_test2.cpp
test failure might be related to another issue I opened in 2023 - #10460. @npmiller, @GeorgeWeb, FYI.I searched for other issues with similar error message and found #14404 reported in 2024. @JackAKirk, FYI.
Both these issues were referenced from multiple PRs.
Link to my change: #16777
Link to pre-commit results on AMD GPU: https://github.com/intel/llvm/actions/runs/12959719697/job/36152970827.
To reproduce
Environment
All environment information is available in the logs referenced in the description section.
Additional context
No response
The text was updated successfully, but these errors were encountered: