From a2425a2a0d356c0f724093759828eb042a40274a Mon Sep 17 00:00:00 2001
From: Incardona Pietro <incardon@mpi-cbg.de>
Date: Sun, 19 Dec 2021 21:06:34 +0100
Subject: [PATCH] Make TLS static

---
 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 0738bcf4f..2ea20b24d 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>
-__global__ void translate_fill_prop_write(vector_type vd_out, vector_type2 vd_in)
+inline __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 @@ __global__ void translate_fill_prop_write(vector_type vd_out, vector_type2 vd_in
 
 
 template<typename vector_type, typename vector_type2>
-__global__ void translate_fill_prop_read(vector_type vd_out, vector_type2 vd_in)
+inline __global__ void translate_fill_prop_read(vector_type vd_out, vector_type2 vd_in)
 {
 	auto p = blockIdx.x * blockDim.x + threadIdx.x;
 
-- 
GitLab