Fix mixed dot for Jenkins rocm_2_0

This commit is contained in:
Aaron Enye Shi
2019-01-24 22:48:35 +00:00
parent 77de87d0cd
commit 2ab6fd374c
6 changed files with 6 additions and 6 deletions
@@ -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];
@@ -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