Skip to content

Commit

Permalink
Fix gpu compilation with cuda 10.1 related to facebookresearch#751
Browse files Browse the repository at this point in the history
  • Loading branch information
chck committed Jun 17, 2019
1 parent 2bfbead commit cfa05cf
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 cfa05cf

Please sign in to comment.