Skip to content

[CUDA] Unexpected Failing and Passing Tests #1603

Closed
@fwyzard

Description

@fwyzard

On a local build of the latest code base (tag: 20200429), running make -j16 check-sycl-cuda, I am getting both unexpected fails (under abi/, devicelib/ and tools/) and unexpected passes (under usm/).

Machine configuration:

$ cat /etc/redhat-release 
CentOS Linux release 8.1.1911 (Core) 

$ uname -a
Linux patatrack01 4.18.0-147.6.el8.x86_64 #1 SMP Tue Oct 15 15:19:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

$ clinfo -l
Platform #0: Intel(R) OpenCL HD Graphics
 `-- Device #0: Intel(R) Gen9 HD Graphics NEO
Platform #1: Intel(R) OpenCL
 `-- Device #0: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz

$ nvidia-smi -L
GPU 0: Tesla K40c (UUID: GPU-10345550-a45d-0c69-f985-b66167d07fc1)

Build configuration

SYCL_BASE="$PWD"

mkdir -p minimal
cd minimal

cmake \
  -DCMAKE_BUILD_TYPE=Release \
  -DLLVM_TARGETS_TO_BUILD="X86;NVPTX" \
  -DLLVM_EXTERNAL_PROJECTS="llvm-spirv;sycl;opencl-aot" \
  -DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl;opencl-aot;libclc" \
  -DLLVM_EXTERNAL_SYCL_SOURCE_DIR=$SYCL_BASE/llvm/sycl \
  -DLLVM_EXTERNAL_LLVM_SPIRV_SOURCE_DIR=$SYCL_BASE/llvm/llvm-spirv \
  -DLLVM_ENABLE_ASSERTIONS=OFF \
  -DSYCL_ENABLE_WERROR=OFF \
  -DBUILD_SHARED_LIBS=OFF \
  -DLLVM_BUILD_LLVM_DYLIB=OFF \
  -DLLVM_LINK_LLVM_DYLIB=OFF \
  -DLLVM_LIBDIR_SUFFIX=64 \
  -DLIBCLC_TARGETS_TO_BUILD="nvptx64--;nvptx64--nvidiacl" \
  -DSYCL_BUILD_PI_CUDA=ON \
  -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda \
  -DCUDA_USE_STATIC_CUDA_RUNTIME=OFF \
  $SYCL_BASE/llvm/llvm

make -j`nproc` -k sycl-toolchain

Test configuration

cd minimal
make -j`nproc` check-sycl-cuda

Test summary

********************
Failing Tests (11):
  SYCL :: abi/sycl_symbols_linux.dump
  SYCL :: devicelib/c99_complex_math_fp64_test.cpp
  SYCL :: devicelib/c99_complex_math_test.cpp
  SYCL :: devicelib/cmath_fp64_test.cpp
  SYCL :: devicelib/cmath_test.cpp
  SYCL :: devicelib/math_fp64_test.cpp
  SYCL :: devicelib/math_override_test.cpp
  SYCL :: devicelib/math_test.cpp
  SYCL :: devicelib/std_complex_math_fp64_test.cpp
  SYCL :: devicelib/std_complex_math_test.cpp
  SYCL :: tools/abi_check_negative.dump

********************
Unexpected Passing Tests (16):
  SYCL :: usm/allocator_vector.cpp
  SYCL :: usm/allocator_vector_fail.cpp
  SYCL :: usm/allocatorll.cpp
  SYCL :: usm/badmalloc.cpp
  SYCL :: usm/depends_on.cpp
  SYCL :: usm/dmemll.cpp
  SYCL :: usm/hmemll.cpp
  SYCL :: usm/memadvise.cpp
  SYCL :: usm/memcpy.cpp
  SYCL :: usm/memset.cpp
  SYCL :: usm/mixed.cpp
  SYCL :: usm/mixed2.cpp
  SYCL :: usm/mixed2template.cpp
  SYCL :: usm/mixed_queue.cpp
  SYCL :: usm/queue_wait.cpp
  SYCL :: usm/smemll.cpp


Testing Time: 68.86s
  Unsupported Tests  :  65
  Expected Passes    : 136
  Expected Failures  :  32
  Unexpected Failures:  11
  Unexpected Passes  :  16

The full log is attached: check-sycl-cuda-log.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