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

[ROCm/clr commit: ee2d4a0358]
Cette révision appartient à :
Brzak, Branislav a créé et GitHub a révisé 2025-05-26 20:28:22 +05:30
1 Parent 436c25aa47
révision d17388cd6b
5 fichiers modifiés
+8 -8

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -317,7 +317,7 @@ hipError_t hipCtxGetDevice(hipDevice_t* device) {
HIP_RETURN(hipErrorInvalidContext);
}
hipError_t hipCtxGetApiVersion(hipCtx_t ctx, int* apiVersion) {
hipError_t hipCtxGetApiVersion(hipCtx_t ctx, unsigned int* apiVersion) {
HIP_INIT_API(hipCtxGetApiVersion, apiVersion);
HIP_RETURN(hipErrorNotSupported);
}