Abort device function in HIP/HCC, need new HCC

Change-Id: I4195ab75e9b7b48c8b8128d6925ddc0fa5e9e009


[ROCm/clr commit: d9935cd089]
Cette révision appartient à :
Rahul Garg
2017-06-18 12:31:31 +05:30
Parent 1634130267
révision 20dd968547
2 fichiers modifiés avec 8 ajouts et 0 suppressions
+3
Voir le fichier
@@ -174,6 +174,9 @@ static constexpr int warpSize = 64;
__device__ long long int clock64();
__device__ clock_t clock();
//abort
__device__ void abort();
//atomicAdd()
__device__ int atomicAdd(int* address, int val);
__device__ unsigned int atomicAdd(unsigned int* address,
+5
Voir le fichier
@@ -839,6 +839,11 @@ __device__ float __hip_ynf(int n, float x)
__device__ long long int clock64() { return (long long int)hc::__cycle_u64(); };
__device__ clock_t clock() { return (clock_t)hc::__cycle_u64(); };
//abort
__device__ void abort()
{
return hc::abort();
}
//atomicAdd()
__device__ int atomicAdd(int* address, int val)