added hipFuncSetCacheConfig API for nvcc path

Change-Id: I87fae35bc0e10a0dca5ae1c5015fe5d9e52a1d0d
此提交包含在:
Aditya Atluri committed 2017-04-26 18:56:57 -05:00
1 父節點 ff454e4b8e
當前提交 fc6248ce82
2 file changed
+40

No files matched your search

+4
查看文件
@@ -897,6 +897,10 @@ inline static hipError_t hipModuleLaunchKernel(hipFunction_t f,
}
inline static hipError_t hipFuncSetCacheConfig(const void* func, hipFuncCache_t cacheConfig)
{
return hipCUDAErrorTohipError(cudaFuncSetCacheConfig(func, cacheConfig));
}
#ifdef __cplusplus
}