Fix build error with hip-clang

[ROCm/rccl-tests commit: bd53e98df3]
Bu işleme şunda yer alıyor:
Wenkai Du committed 2019-11-22 10:31:31 -08:00
1 ebeveyn 907877df59
işleme e1d118e925
1 file changed
+1 -1
+1 -1
Dosyayı Görüntüle
@@ -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