Skip to content

SYCL-CTS test_vector_swizzles doesn't compile for NVPTX target. #6505

Closed
@bader

Description

@bader

Describe the bug
I'm building SYCL-CTS using DPC++ with NVPTX target support and building of the test_vector_swizzles fails with following error:

ptxas fatal   : Unresolved extern function '_Z18__spirv_AtomicIAddPyN5__spv5Scope4FlagENS0_19MemorySemanticsMask4FlagEy'

NOTE: Might be related to #5647 and #5215.

To Reproduce
Please describe the steps to reproduce the behavior:

git clone --recurse-submodules https://github.com/KhronosGroup/SYCL-CTS.git
cd SYCL-CTS
cmake -S . -B build -DSYCL_IMPLEMENTATION=DPCPP -DSYCL_CTS_EXCLUDE_TEST_CATEGORIES=ci/dpcpp.filter -DSYCL_CTS_ENABLE_DOUBLE_TESTS=OFF -DSYCL_CTS_ENABLE_HALF_TESTS=OFF -DSYCL_CTS_ENABLE_DEPRECATED_FEATURES_TESTS=OFF -DSYCL_CTS_ENABLE_OPENCL_INTEROP_TESTS=OFF -DDPCPP_INSTALL_DIR=<compiler-install-dir> -DDPCPP_TARGET_TRIPLES=nvptx64-nvidia-cuda
cmake --build ./build

Environment (please complete the following information):

  • OS: Linux
  • Target device and vendor: GeForce RTX 2060 0.0 [CUDA 11.0]
  • DPC++ version:
    clang version 15.0.0 (https://github.com/intel/llvm.git ab05021)
    Target: x86_64-unknown-linux-gnu
    Thread model: posix
    InstalledDir: /iusers/aabader/llvm/build/bin
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
    Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
    Candidate multilib: .;@m64
    Candidate multilib: 32;@m32
    Candidate multilib: x32;@MX32
    Selected multilib: .;@m64
    Found CUDA installation: /usr/local/cuda, version 11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    CTSImpacts Khronos SYCL CTSbugSomething 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