fixed atan2f arguments

Change-Id: I0bb621e94d57594c3899e51d0c34ef43306cead0


[ROCm/clr commit: 2ea7c5d28a]
This commit is contained in:
Aditya Atluri
2017-03-07 14:06:03 -06:00
parent c861d10d1e
commit c0d91d1c3a
+1 -1
View File
@@ -46,7 +46,7 @@ __device__ float asinhf(float x)
}
__device__ float atan2f(float y, float x)
{
return hc::precise_math::atan2f(x, y);
return hc::precise_math::atan2f(y, x);
}
__device__ float atanf(float x)
{