mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-25 22:28:17 +08:00
Bug 5196362, 5184356, 5212196, 5214258 and 5214259: Update sameples for CUDA13.0 API changes
This commit is contained in:
@@ -69,6 +69,9 @@
|
||||
#include <thrust/sort.h>
|
||||
#include <thrust/unique.h>
|
||||
|
||||
// for cuda::std::identity
|
||||
#include <cuda/std/functional>
|
||||
|
||||
// Sample framework includes.
|
||||
#include <helper_cuda.h>
|
||||
#include <helper_functions.h>
|
||||
@@ -680,7 +683,7 @@ private:
|
||||
thrust::make_counting_iterator(validEdgesCount),
|
||||
dEdgesFlags,
|
||||
dVertices_,
|
||||
thrust::identity<uint>())
|
||||
cuda::std::identity())
|
||||
.get();
|
||||
|
||||
pools.uintEdges.put(dEdgesFlags);
|
||||
|
||||
Reference in New Issue
Block a user