Skip to content

Bindless images test failures on HIP #19957

@AlexeySachkov

Description

@AlexeySachkov

I was working on enabling more bindless images tests on Level Zero backend and for that I started dropping REQUIRES: cuda from them.

Apparently, those tests don't work on HIP either, so I'm reporting them here. This will be an umbrella tracker for all failures I see - it is likely that there is more than one bug which leads to those failures.

From #19955:

FAIL: SYCL :: bindless_images/sampling_2D_USM_host.cpp (564 of 1892)
  ******************** TEST 'SYCL :: bindless_images/sampling_2D_USM_host.cpp' FAILED ********************
  Exit Code: 1
  
  Command Output (stdout):
  --
  # RUN: at line 6
  /__w/llvm/llvm/build-e2e/bindless_images/Output/sampling_2D_USM_host.cpp.tmp.out
  # executed command: /__w/llvm/llvm/build-e2e/bindless_images/Output/sampling_2D_USM_host.cpp.tmp.out
  # .---command stderr------------
  # | SYCL exception caught! : hip backend failed with error: 4 (UR_RESULT_ERROR_INVALID_VALUE)
  # `-----------------------------
  # error: command failed with exit status: 1
  
  --
  
  ********************
  FAIL: SYCL :: bindless_images/copies/host_to_host_pitched.cpp (746 of 1892)
  ******************** TEST 'SYCL :: bindless_images/copies/host_to_host_pitched.cpp' FAILED ********************
  Exit Code: 1
  
  Command Output (stdout):
  --
  # RUN: at line 7
  env ONEAPI_DEVICE_SELECTOR=hip:gpu  /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/host_to_host_pitched.cpp.tmp.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/host_to_host_pitched.cpp.tmp.out
  # .---command stderr------------
  # | SYCL exception caught! : Enqueue process failed.
  # `-----------------------------
  # error: command failed with exit status: 1

From #19960

FAIL: SYCL :: bindless_images/copies/device_to_device_pitched.cpp (756 of 1892)
  ******************** TEST 'SYCL :: bindless_images/copies/device_to_device_pitched.cpp' FAILED ********************
  Exit Code: -11
  
  Command Output (stdout):
  --
  # RUN: at line 8
  env ONEAPI_DEVICE_SELECTOR=hip:gpu  /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/device_to_device_pitched.cpp.tmp.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/device_to_device_pitched.cpp.tmp.out
  # note: command had no output on stdout or stderr
  # error: command failed with exit status: -11
  
  --
  
  ********************
  FAIL: SYCL :: bindless_images/copies/device_to_device_copy.cpp (886 of 1892)
  ******************** TEST 'SYCL :: bindless_images/copies/device_to_device_copy.cpp' FAILED ********************
  Exit Code: -11
  
  Command Output (stdout):
  --
  # RUN: at line 4
  env ONEAPI_DEVICE_SELECTOR=hip:gpu  /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/device_to_device_copy.cpp.tmp.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/device_to_device_copy.cpp.tmp.out
  # note: command had no output on stdout or stderr
  # error: command failed with exit status: -11
  
  --
  
  ********************
  FAIL: SYCL :: bindless_images/copies/copy_subregion_1D.cpp (945 of 1892)
  ******************** TEST 'SYCL :: bindless_images/copies/copy_subregion_1D.cpp' FAILED ********************
  Exit Code: -6
  
  Command Output (stdout):
  --
  # RUN: at line 4
  env ONEAPI_DEVICE_SELECTOR=hip:gpu  /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/copy_subregion_1D.cpp.tmp.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/copy_subregion_1D.cpp.tmp.out
  # .---command stderr------------
  # | <HIP>[ERROR]: 
  # | UR HIP ERROR:
  # | 	Value:           1
  # | 	Name:            hipErrorInvalidValue
  # | 	Description:     invalid argument
  # | 	Function:        urBindlessImagesImageCopyExp
  # | 	Source Location: /__w/llvm/llvm/src/unified-runtime/source/adapters/hip/image.cpp:772
  # | 
  # | terminate called after throwing an instance of 'sycl::_V1::exception'
  # |   what():  Enqueue process failed.
  # | hip backend failed with error: 4 (UR_RESULT_ERROR_INVALID_VALUE)
  # `-----------------------------
  # error: command failed with exit status: -6
  
  --
  
  ********************
  FAIL: SYCL :: bindless_images/copies/copy_subregion_2D.cpp (963 of 1892)
  ******************** TEST 'SYCL :: bindless_images/copies/copy_subregion_2D.cpp' FAILED ********************
  Exit Code: -11
  
  Command Output (stdout):
  --
  # RUN: at line 4
  env ONEAPI_DEVICE_SELECTOR=hip:gpu  /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/copy_subregion_2D.cpp.tmp.out
  # executed command: env ONEAPI_DEVICE_SELECTOR=hip:gpu /__w/llvm/llvm/build-e2e/bindless_images/copies/Output/copy_subregion_2D.cpp.tmp.out
  # note: command had no output on stdout or stderr
  # error: command failed with exit status: -11
  
  --

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghipIssues related to execution on HIP backend.sycl-bindless-imagesSYCL Bindless Imagesunified-runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions