Skip to content

[SYCL][CUDA] Nvidia GPUs detected under multiple platform #7808

@TejaX-Alaghari

Description

@TejaX-Alaghari

Describe the bug
On a system with 2 Nvidia GPUs, SYCL detected the 2 devices as being under 2 different platforms. Whereas the expected behavior is for them to be listed under a single Nvidia platform.

To Reproduce

  1. A simple program to list the devices in the environment sycl_info.cpp

  2. Compilation command: clang++ -fsycl -fsycl-targets=nvptx64-nvidia-cuda sycl_info.cpp -o sycl_info

  3. Launch command: ./sycl_info
    Output: SYCLInfo.txt

  4. The two devices in the above log are listed under 2 different platforms instead of being grouped under a single platform as shown by clinfo -l
    Output: CLInfo.txt

Environment:

Additional Information

Log of sycl-ls --verbose sycl_ls.txt
Log of nvidia-smi NVInfo.txt
Log of nvidia-smi -a nvidia_smi_a.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcudaCUDA back-end

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions