SWDEV-518962 - Match hipCtxGetApiVersion signature with Cuda (#327)

This commit is contained in:
Brzak, Branislav
2025-05-26 16:58:22 +02:00
committed by GitHub
parent 7f6020d599
commit ee2d4a0358
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ hipError_t hipCtxDisablePeerAccess(hipCtx_t peerCtx) {
hipError_t hipCtxEnablePeerAccess(hipCtx_t peerCtx, unsigned int flags) {
return hip::GetHipDispatchTable()->hipCtxEnablePeerAccess_fn(peerCtx, flags);
}
hipError_t hipCtxGetApiVersion(hipCtx_t ctx, int* apiVersion) {
hipError_t hipCtxGetApiVersion(hipCtx_t ctx, unsigned int* apiVersion) {
return hip::GetHipDispatchTable()->hipCtxGetApiVersion_fn(ctx, apiVersion);
}
hipError_t hipCtxGetCacheConfig(hipFuncCache_t* cacheConfig) {