Added support for __mul24 and __umul24

[ROCm/clr commit: adc763f440]
This commit is contained in:
Elias Konstantinidis
2016-10-02 10:07:31 +03:00
gecommit door Maneesh Gupta
bovenliggende 99d47a0850
commit c7da2fe434
2 gewijzigde bestanden met toevoegingen van 14 en 0 verwijderingen
+11
Bestand weergeven
@@ -1672,6 +1672,17 @@ __device__ unsigned int atomicDec(unsigned int* address,
return hc::__atomic_wrapdec(address,val);
}
//__mul24 __umul24
__device__ int __mul24(int arg1,
int arg2)
{
return hc::__mul24(arg1, arg2);
}
__device__ unsigned int __umul24(unsigned int arg1,
unsigned int arg2)
{
return hc::__mul24(arg1, arg2);
}
__device__ unsigned int test__popc(unsigned int input)
{