Make CUTLASS compileable with Clang.

Requires a recent clang build (r359248 or newer).

Enable compilation with clang with these options:
cmake -DCUDA_COMPILER=clang -DCMAKE_CXX_COMPILER=/path/to/clang++
This commit is contained in:
Artem Belevich
2019-05-02 11:00:22 -07:00
parent fe3438a3c1
commit e18292db46
17 changed files with 102 additions and 38 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ struct Gemm {
}
/// Performs linear scaling of matrix product and updates output tensor
CUTLASS_HOST_DEVICE
__device__
Gemm & epilogue(
gemm::GemmCoord problem_size,
ScalarType alpha,