Skip to content

Basic/memory_consumption.cpp is flaky on HIP backend #8808

Closed
@alexbatashev

Description

@alexbatashev

Logs:

FAIL: SYCL :: Basic/memory-consumption.cpp (127 of 686)
******************** TEST 'SYCL :: Basic/memory-consumption.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';    /__w/llvm/llvm/toolchain/bin/clang++     -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031 -fsycl /__w/llvm/llvm/llvm_test_suite/SYCL/Basic/memory-consumption.cpp -o /__w/llvm/llvm/build/SYCL/Basic/Output/memory-consumption.cpp.tmp.out
: 'RUN: at line 2';    env SYCL_DEVICE_FILTER=hip:gpu,host  /__w/llvm/llvm/build/SYCL/Basic/Output/memory-consumption.cpp.tmp.out
--
Exit Code: 1

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "/__w/llvm/llvm/toolchain/bin/clang++" "-Xsycl-target-backend=amdgcn-amd-amdhsa" "--offload-arch=gfx1031" "-fsycl" "/__w/llvm/llvm/llvm_test_suite/SYCL/Basic/memory-consumption.cpp" "-o" "/__w/llvm/llvm/build/SYCL/Basic/Output/memory-consumption.cpp.tmp.out"
# command stderr:
clang-14: warning: argument unused during compilation: '-Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1031' [-Wunused-command-line-argument]

$ ":" "RUN: at line 2"
$ "env" "SYCL_DEVICE_FILTER=hip:gpu,host" "/__w/llvm/llvm/build/SYCL/Basic/Output/memory-consumption.cpp.tmp.out"
# command output:
36416 kb
36916 kb
Platform: AMD HIP BACKEND
Failed

error: command failed with exit status: 1

--

HW info:

  [opencl:gpu:0] AMD Accelerated Parallel Processing, gfx1031 2.0 [3361.0 (HSA1.1,LC)]
  [ext_oneapi_hip:gpu:0] AMD HIP BACKEND,  0.0 [HIP 40421.40]
  [host:host:0] SYCL host platform, SYCL host device 1.2 [1.2]
  
  Platforms: 3
  Platform [#1]:
      Version  : OpenCL 2.2 AMD-APP (3361.0)
      Name     : AMD Accelerated Parallel Processing
      Vendor   : Advanced Micro Devices, Inc.
      Devices  : 1
          Device [#0]:
          Type       : gpu
          Version    : 2.0
          Name       : gfx1031
          Vendor     : Advanced Micro Devices, Inc.
          Driver     : 3361.0 (HSA1.1,LC)
  Platform [#2]:
      Version  : HIP 40421.40
      Name     : AMD HIP BACKEND
      Vendor   : AMD Corporation
      Devices  : 1
          Device [#0]:
          Type       : gpu
          Version    : 0.0
          Name       : 
          Vendor     : AMD Corporation
          Driver     : HIP 40421.40
  Platform [#3]:
      Version  : 1.2
      Name     : SYCL host platform
      Vendor   : 
      Devices  : 1
          Device [#0]:
          Type       : host
          Version    : 1.2
          Name       : SYCL host device
          Vendor     : 
          Driver     : 1.2
  default_selector()      : gpu, AMD Accelerated Parallel Processing, gfx1031 2.0 [3361.0 (HSA1.1,LC)]
  host_selector()         : host, SYCL host platform, SYCL host device 1.2 [1.2]
  accelerator_selector()  : No device of requested type available. -1 (CL_DEVI...
  cpu_selector()          : No device of requested type available. -1 (CL_DEVI...
  gpu_selector()          : gpu, AMD Accelerated Parallel Processing, gfx1031 2.0 [3361.0 (HSA1.1,LC)]
  custom_selector(gpu)    : gpu, AMD Accelerated Parallel Processing, gfx1031 2.0 [3361.0 (HSA1.1,LC)]
  custom_selector(cpu)    : No device of requested type available. -1 (CL_DEVI...
  custom_selector(acc)    : No device of requested type available. -1 (CL_DEVI...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghipIssues related to execution on HIP backend.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions