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;