Merge "Generating hiprtc lib with hcc+hip-clang" into amd-master-next

Tá an tiomantas seo le fáil i:
Tao Sang
2020-02-25 14:46:24 -05:00
tiomanta ag Gerrit Code Review
tuismitheoir d5938efcce 8bf287ef18
tiomantas 1d22c5b925
D'athraigh 3 comhad le 12 breiseanna agus 18 scriosta
+1 -1
Féach ar an gComhad
@@ -143,7 +143,7 @@ int main()
hipMemcpyDtoH(hOut.get(), dOut, bufferSize);
for (size_t i = 0; i < n; ++i) {
if (a * hX[i] + hY[i] != hOut[i]) { failed("Validation failed."); }
if (fabs(a * hX[i] + hY[i] - hOut[i]) > fabs(hOut[i])* 1e-6) { failed("Validation failed."); }
}
hipFree(dX);