Commit 423eeac
committed
Suppress nvcc host/device diagnostic in multi_stream_allocations benchmark
The any_resource internals use __host__ __device__ functions that call
shared_resource copy/move constructors which are __host__ only. This is
safe because the benchmark factory functions are only called from host code.1 parent 09cb70f commit 423eeac
File tree
1 file changed
+4
-0
lines changed- cpp/benchmarks/multi_stream_allocations
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
0 commit comments