Fix build error with hip-clang

[ROCm/rccl-tests commit: bd53e98df3]
Ta zmiana jest zawarta w:
%! (template.HTML=Wenkai Du)złożyło 2019-11-22 10:31:31 -08:00
1 rodzic 907877df59
złożenie e1d118e925
Plik 1 zmieniony
+1 -1
+1 -1
Wyświetl plik
@@ -196,7 +196,7 @@ __device__ half testValue<half>(const size_t offset, const int rep, const int ra
}
template<>
__device__ rccl_bfloat16 testValue<rccl_bfloat16>(const size_t offset, const int rep, const int rank) {
return (float)testValue<float>(offset, rep, rank);
return rccl_bfloat16(testValue<float>(offset, rep, rank));
}
// Operations