Skip to content

Test SYCL :: Printf/int.cpp failing on CUDA #14734

Open
@lbushi25

Description

@lbushi25

Describe the bug

The test SYCL :: Printf/int.cpp is failing on CUDA.
Upon resolution, please remove XFAIL from test source.

To reproduce

/__w/llvm/llvm/toolchain/bin//clang++   -fsycl -fsycl-targets=nvptx64-nvidia-cuda  /__w/llvm/llvm/llvm/sycl/test-e2e/Printf/int.cpp -o /__w/llvm/llvm/build-e2e/Printf/Output/int.cpp.tmp.out
env SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT=1 ONEAPI_DEVICE_SELECTOR=cuda:gpu  /__w/llvm/llvm/build-e2e/Printf/Output/int.cpp.tmp.out | /__w/llvm/llvm/toolchain/bin/FileCheck /__w/llvm/llvm/llvm/sycl/test-e2e/Printf/int.cpp

Environment

  • OS: Agnostic
  • Target device and vendor: CUDA
  • DPC++ version: 54020cd3318c182618efbda394641276caa0d49a
  • Dependencies version:
[cuda:gpu][cuda:0] NVIDIA CUDA BACKEND, NVIDIA A10G 8.6 [CUDA 12.1]
[native_cpu:cpu][native_cpu:0] SYCL_NATIVE_CPU, SYCL Native CPU 0.1 [0.0.0]

Platforms: 2
Platform [#1]:
    Version  : CUDA 12.1
    Name     : NVIDIA CUDA BACKEND
    Vendor   : NVIDIA Corporation
    Devices  : 1
        Device [#0]:
        Type              : gpu
        Version           : 8.6
        Name              : NVIDIA A10G
        Vendor            : NVIDIA Corporation
        Driver            : CUDA 12.1
        UUID              : 83176201134617011210741816[9]219207142181102
        Num SubDevices    : 0
        Num SubSubDevices : 0
Images are not fully supported by the CUDA BE, their support is disabled by default. Their partial support can be activated by setting SYCL_PI_CUDA_ENABLE_IMAGE_SUPPORT environment variable at runtime.
        Aspects           : gpu fp16 fp64 online_compiler online_linker queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations ext_intel_pci_address usm_atomic_shared_allocations atomic64 ext_intel_device_info_uuid ext_oneapi_bfloat16_math_functions ext_intel_free_memory ext_intel_device_id ext_intel_memory_clock_rate ext_intel_memory_bus_width ext_oneapi_bindless_images ext_oneapi_bindless_images_shared_usm ext_oneapi_bindless_images_2d_usm ext_oneapi_interop_memory_import ext_oneapi_interop_semaphore_import ext_oneapi_mipmap ext_oneapi_mipmap_anisotropy ext_oneapi_mipmap_level_reference ext_oneapi_ballot_group ext_oneapi_fixed_size_group ext_oneapi_opportunistic_group ext_oneapi_graph ext_oneapi_limited_graph ext_oneapi_cubemap ext_oneapi_cubemap_seamless_filtering ext_oneapi_bindless_sampled_image_fetch_1d_usm ext_oneapi_bindless_sampled_image_fetch_2d_usm ext_oneapi_bindless_sampled_image_fetch_2d ext_oneapi_bindless_sampled_image_fetch_3d ext_oneapi_queue_profiling_tag
        info::device::sub_group_sizes: 32
        Architecture: nvidia_gpu_sm_86
Platform [#2]:
    Version  : 0.1
    Name     : SYCL_NATIVE_CPU
    Vendor   : tbd
    Devices  : 1
        Device [#0]:
        Type              : cpu
        Version           : 0.1
        Name              : SYCL Native CPU
        Vendor            : Intel(R) Corporation
        Driver            : 0.0.0
        Num SubDevices    : 0
        Num SubSubDevices : 0
        Aspects           : cpu fp16 fp64 queue_profiling usm_device_allocations usm_host_allocations usm_shared_allocations usm_system_allocations usm_atomic_host_allocations usm_atomic_shared_allocations atomic64
        info::device::sub_group_sizes: 1
        Architecture: unknown
default_selector()      : gpu, NVIDIA CUDA BACKEND, NVIDIA A10G 8.6 [CUDA 12.1]
accelerator_selector()  : No device of requested type available. -1 (PI_ERRO...
cpu_selector()          : cpu, SYCL_NATIVE_CPU, SYCL Native CPU 0.1 [0.0.0]
gpu_selector()          : gpu, NVIDIA CUDA BACKEND, NVIDIA A10G 8.6 [CUDA 12.1]
custom_selector(gpu)    : gpu, NVIDIA CUDA BACKEND, NVIDIA A10G 8.6 [CUDA 12.1]
custom_selector(cpu)    : cpu, SYCL_NATIVE_CPU, SYCL Native CPU 0.1 [0.0.0]
custom_selector(acc)    : No device of requested type available. -1 (PI_ERRO...

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedcudaCUDA back-end

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions