removed host math functions from math_functions.h
Change-Id: I90d8784e2d6b58c6fade9f0fa12c0db3ee417d3e
This commit is contained in:
@@ -153,13 +153,13 @@ hipMemcpy(B, Bd, SIZE, hipMemcpyDeviceToHost);
|
||||
hipMemcpy(C, Cd, SIZE, hipMemcpyDeviceToHost);
|
||||
int passed = 0;
|
||||
for(int i=0;i<512;i++){
|
||||
if(B[i] - sinpi(1.0) < 0.1){
|
||||
if(B[i] - sin(3.14*1.0) < 0.1){
|
||||
passed = 1;
|
||||
}
|
||||
}
|
||||
passed = 0;
|
||||
for(int i=0;i<512;i++){
|
||||
if(C[i] - cospi(1.0) < 0.1){
|
||||
if(C[i] - cos(3.14*1.0) < 0.1){
|
||||
passed = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user