2
0

Fix mixed dot for Jenkins rocm_2_0

Este cometimento está contido em:
Aaron Enye Shi
2019-01-24 22:48:35 +00:00
ascendente 77de87d0cd
cometimento 2ab6fd374c
6 ficheiros modificados com 6 adições e 6 eliminações
+1 -1
Ver ficheiro
@@ -32,7 +32,7 @@ THE SOFTWARE.
__global__ void DotFunctions(bool* result) {
#if (__hcc_workweek__ >= 19015) || defined(__HIP_CLANG_ONLY__)
#if (__hcc_workweek__ >= 19015) || __HIP_CLANG_ONLY__
// Dot Functions
short2 sa{1}, sb{1};
result[0] = amd_mixed_dot(sa, sb, 1, result[0]) && result[0];
+1 -1
Ver ficheiro
@@ -157,7 +157,7 @@ void __half2Test(bool* result, __half2 a) {
result[0] = !(a < a) && result[0];
result[0] = !(a > a) && result[0];
#if (__hcc_workweek__ >= 19015) || defined(__HIP_CLANG_ONLY__)
#if (__hcc_workweek__ >= 19015) || __HIP_CLANG_ONLY__
// Dot Functions
result[0] = amd_mixed_dot(a, a, 1, 1) && result[0];
#endif