From d635aa9c65a0fd4b7ca99a84264baef632ecc803 Mon Sep 17 00:00:00 2001 From: Steffen Schmitz Date: Mon, 8 Apr 2019 20:39:21 +0200 Subject: [PATCH] fix: gpu compilation with cuda 10.1 (#771) The GPU compilation fails with g++ 8.3.1 and cuda 10.1 With this proposed fix the compilation works locally Contributes to #751 --- gpu/utils/Tensor.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu/utils/Tensor.cuh b/gpu/utils/Tensor.cuh index f925a3788..d1163243d 100644 --- a/gpu/utils/Tensor.cuh +++ b/gpu/utils/Tensor.cuh @@ -359,7 +359,7 @@ bool canUseIndexType() { template bool canUseIndexType(const T& arg, const U&... args) { - return arg.canUseIndexType() && + return arg.template canUseIndexType() && canUseIndexType(args...); }