Fix test on cuda

Tá an tiomantas seo le fáil i:
Ben Sander tiomanta 2017-11-19 15:31:02 -06:00
1 tuismitheoir 5a7a28ad29
tiomantas 59956a57ca
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -52,7 +52,7 @@ vectorADD2( hipLaunchParm lp,
size_t stride = blockDim.x * gridDim.x ;
for (size_t i=offset; i<N; i+=stride) {
auto foo = __hiloint2double(A_d[i], B_d[i]);
double foo = __hiloint2double(A_d[i], B_d[i]);
C_d[i] = __double2loint(foo) + __double2hiint(foo);//A_d[i] + B_d[i] ;
}
}