Added support for __mul24 and __umul24

[ROCm/hip commit: 2bc541e15f]
Dieser Commit ist enthalten in:
Elias Konstantinidis verfasst und Maneesh Gupta committed 2016-10-06 09:29:36 +05:30
1 Ursprung 9f449295a4
Commit 7d0d42712e
2 Dateien geändert
+14

Keine Dateien entsprechen Ihrer Suche

Normale Datei → Ausführbare Datei
+11
Datei anzeigen
@@ -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)
{