hipMemsetD8 support for HIP/NVCC path

Change-Id: I48eee8266afd7b45a12d5ce2c4849b687a006c0f
Этот коммит содержится в:
Rahul Garg
2017-03-14 23:49:21 +05:30
родитель 1aba3c4375
Коммит 913867fe6a
2 изменённых файлов: 8 добавлений и 3 удалений
+5
Просмотреть файл
@@ -397,6 +397,11 @@ inline static hipError_t hipMemsetAsync(void* devPtr,int value, size_t count, hi
return hipCUDAErrorTohipError(cudaMemsetAsync(devPtr, value, count, stream));
}
inline static hipError_t hipMemsetD8(hipDeviceptr_t dest, unsigned char value, size_t sizeBytes )
{
return hipCUResultTohipError(cuMemsetD8(dest, value, sizeBytes));
}
inline static hipError_t hipGetDeviceProperties(hipDeviceProp_t *p_prop, int device)
{
cudaDeviceProp cdprop;