fixed float2int functions

Change-Id: I67be79149f06daacf0f0d131bdedabf294126248


[ROCm/clr commit: f139d5a52f]
Tá an tiomantas seo le fáil i:
Aditya Atluri tiomanta 2017-06-16 09:07:06 -05:00
1 tuismitheoir cd12c963b0
tiomantas 1634130267
1 comhad athraithe
+5 -5
+5 -5
Féach ar an gComhad
@@ -1,5 +1,5 @@
/*
Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved.
Copyright (c) 2015 - present Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@@ -149,19 +149,19 @@ __device__ long long int __double_as_longlong(double x)
return hold64.sli;
}
__device__ int float2int_rd(float x)
__device__ int __float2int_rd(float x)
{
return (int)x;
}
__device__ int float2int_rn(float x)
__device__ int __float2int_rn(float x)
{
return (int)x;
}
__device__ int float2int_ru(float x)
__device__ int __float2int_ru(float x)
{
return (int)x;
}
__device__ int float2int_rz(float x)
__device__ int __float2int_rz(float x)
{
return (int)x;
}