Skip to content

Commit

Permalink
Fix gpu compilation with cuda 10.1 related to #751 (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
chck authored and Lucas Hosseini committed Jun 21, 2019
1 parent d224d11 commit fc9856a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu/utils/Tensor.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ bool canUseIndexType() {

template <typename IndexType, typename T, typename... U>
bool canUseIndexType(const T& arg, const U&... args) {
return arg.template canUseIndexType<IndexType>() &&
return arg.template canUseIndexType() &&
canUseIndexType(args...);
}

Expand Down

0 comments on commit fc9856a

Please sign in to comment.