Skip to content

Commit

Permalink
Update lit
Browse files Browse the repository at this point in the history
Signed-off-by: Jiang, Zhiwei <zhiwei.jiang@intel.com>
  • Loading branch information
zhiweij1 committed Oct 18, 2024
1 parent ef36ab8 commit c7d6c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/dpct/cusparse.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// UNSUPPORTED: cuda-11.0, cuda-11.1, cuda-11.2, cuda-11.3, cuda-11.4, cuda-11.5, cuda-11.6, cuda-11.7, cuda-11.8, cuda-12.0, cuda-12.1, cuda-12.2, cuda-12.3, cuda-12.4, cuda-12.5, cuda-12.6
// RUN: dpct --format-range=none --usm-level=none --out-root %T/cusparse %s --cuda-include-path="%cuda-path/include" -- -x cuda --cuda-host-only --std=c++14
// RUN: FileCheck --input-file %T/cusparse/cusparse.dp.cpp --match-full-lines %s
// RUN: %if build_lit %{icpx -c -fsycl -DBUILD_TEST %T/cusparse/cusparse.dp.cpp -o %T/cusparse/cusparse.dp.o %}
// RUN: %if build_lit %{icpx -c -fsycl -DNO_BUILD_TEST %T/cusparse/cusparse.dp.cpp -o %T/cusparse/cusparse.dp.o %}
#include <cstdio>
#include <cusparse_v2.h>
#include <cuda_runtime.h>
Expand Down Expand Up @@ -462,7 +462,7 @@ void foo7_1(int c_nnz,
float* val_c_s,
int* row_ptr_c,
int* col_ind_c) {
#ifndef BUILD_TEST
#ifndef NO_BUILD_TEST
// CHECK: /*
// CHECK-NEXT: DPCT1134:{{[0-9]+}}: Tool cannot deduce the successive "dpct::sparse::csrgemm" call which using the result of this API. Replace "dpct_placeholder" with corresponding value pointer.
// CHECK-NEXT: */
Expand Down

0 comments on commit c7d6c2e

Please sign in to comment.