From 7894dc49e684fee0ed4045bb47ef917d638ad52d Mon Sep 17 00:00:00 2001 From: alexanderlvov Date: Thu, 18 Jan 2024 13:24:31 +0300 Subject: [PATCH] Improvements with cuda/std/array and cuda/std/utility (pair). --- Aesi.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Aesi.h b/Aesi.h index 9f995be..6a4d3a0 100644 --- a/Aesi.h +++ b/Aesi.h @@ -7,7 +7,7 @@ #ifdef __CUDACC__ #define gpu __host__ __device__ - #include + #include #include #else #define gpu @@ -48,17 +48,18 @@ class Aesi final { #ifdef __CUDACC__ template - using pair = thrust::pair; + using pair = cuda::std::pair; + using blockLine = cuda::std::array; #else template using pair = std::pair; + using blockLine = std::array; #endif /* -------------------------- @name Class members. ----------------------- */ /** * @brief Block line of the number */ - using blockLine = std::array; blockLine blocks {}; /**