Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Modify pipeline test using barrier to use ABI v3 temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
wmaxey committed Jul 27, 2021
1 parent 3f9d37c commit 050663e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .upstream-tests/test/cuda/pipeline_arrive_on.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

// UNSUPPORTED: pre-sm-70

// Remove after bump to version 4
#define _LIBCUDACXX_CUDA_ABI_VERSION 3

#pragma nv_diag_suppress static_var_with_dynamic_init
#pragma nv_diag_suppress declared_but_not_referenced

Expand Down
6 changes: 3 additions & 3 deletions include/cuda/std/detail/__config
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@
#endif

#ifdef _LIBCUDACXX_PIPELINE_ASSUMED_ABI_VERSION
#if _LIBCUDACXX_PIPELINE_ASSUMED_ABI_VERSION != _LIBCUDACXX_CUDA_ABI_VERSION
#error cuda_pipeline.h has assumed a different libcu++ ABI version than provided by this library. To fix this, please include a libcu++ header before including cuda_pipeline.h, or upgrade to a version of the toolkit this version of libcu++ shipped in.
#endif
# if _LIBCUDACXX_PIPELINE_ASSUMED_ABI_VERSION != _LIBCUDACXX_CUDA_ABI_VERSION
# error cuda_pipeline.h has assumed a different libcu++ ABI version than provided by this library. To fix this, please include a libcu++ header before including cuda_pipeline.h, or upgrade to a version of the toolkit this version of libcu++ shipped in.
# endif
#endif

#ifndef _LIBCUDACXX_CUDA_ABI_NAMESPACE
Expand Down

0 comments on commit 050663e

Please sign in to comment.