From 092a8383156ee661e41d086496066d3200b3fb92 Mon Sep 17 00:00:00 2001 From: Incardona Pietro <incardon@mpi-cbg.de> Date: Sun, 19 Dec 2021 23:00:55 +0100 Subject: [PATCH] Fixing memBW --- example/Performance/memBW/main.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/Performance/memBW/main.cu b/example/Performance/memBW/main.cu index 2ea20b24d..0738bcf4f 100644 --- a/example/Performance/memBW/main.cu +++ b/example/Performance/memBW/main.cu @@ -5,7 +5,7 @@ //! Memory bandwidth with small calculations template<typename vector_type, typename vector_type2> -inline __global__ void translate_fill_prop_write(vector_type vd_out, vector_type2 vd_in) +__global__ void translate_fill_prop_write(vector_type vd_out, vector_type2 vd_in) { auto p = blockIdx.x * blockDim.x + threadIdx.x; @@ -25,7 +25,7 @@ inline __global__ void translate_fill_prop_write(vector_type vd_out, vector_type template<typename vector_type, typename vector_type2> -inline __global__ void translate_fill_prop_read(vector_type vd_out, vector_type2 vd_in) +__global__ void translate_fill_prop_read(vector_type vd_out, vector_type2 vd_in) { auto p = blockIdx.x * blockDim.x + threadIdx.x; -- GitLab