Skip to content

Commit

Permalink
More suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Jan 21, 2025
1 parent d83abd1 commit 2567a5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cub/cub/device/dispatch/dispatch_spmv_orig.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@

#include <nv/target>

_CCCL_SUPPRESS_DEPRECATED_PUSH
CUB_NAMESPACE_BEGIN

/******************************************************************************
Expand Down Expand Up @@ -1030,4 +1031,5 @@ struct CCCL_DEPRECATED_BECAUSE("Use the cuSPARSE library instead") DispatchSpmv
#endif // _CCCL_DOXYGEN_INVOKED
};

_CCCL_SUPPRESS_DEPRECATED_POP
CUB_NAMESPACE_END
4 changes: 2 additions & 2 deletions cub/test/test_device_spmv.cu
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
#include <c2h/device_policy.h>
#include <c2h/vector.h>

// note: there is no matching _CCCL_SUPPRESS_DEPRECATED_POP at the end of the file so warnings coming from
// cudafe1.stub.c file are suppressed as well
_CCCL_SUPPRESS_DEPRECATED_PUSH

bool g_verbose = false;
Expand Down Expand Up @@ -607,5 +609,3 @@ int main(int argc, char** argv)

test_types();
}

_CCCL_SUPPRESS_DEPRECATED_POP

0 comments on commit 2567a5e

Please sign in to comment.