SWDEV-397358 - Revert "Return hipErrorNotSupported for unsupported APIs"

This reverts commit c6647487e0.

Change-Id: Idb18e1ce6bcfc1da144fabf1ba01329f4f6604a5
(cherry picked from commit 8d1b76f4c6dc44bd05f6b6117d5354c54bee5c0b)
Этот коммит содержится в:
Maneesh Gupta
2023-04-27 12:26:03 +00:00
коммит произвёл Maneesh Gupta
родитель 287f607d2b
Коммит 68238c99d2
+2 -2
Просмотреть файл
@@ -474,7 +474,7 @@ hipError_t hipDeviceSetCacheConfig ( hipFuncCache_t cacheConfig ) {
// No way to set cache config yet.
HIP_RETURN(hipErrorNotSupported);
HIP_RETURN(hipSuccess);
}
hipError_t hipDeviceSetLimit ( hipLimit_t limit, size_t value ) {
@@ -510,7 +510,7 @@ hipError_t hipDeviceSetSharedMemConfig ( hipSharedMemConfig config ) {
}
// No way to set cache config yet.
HIP_RETURN(hipErrorNotSupported);
HIP_RETURN(hipSuccess);
}
hipError_t hipDeviceSynchronize() {