SWDEV-397358 - Revert "Return hipErrorNotSupported for unsupported APIs"
This reverts commit32a73102ea. Change-Id: Idb18e1ce6bcfc1da144fabf1ba01329f4f6604a5 (cherry picked from commit 5c38999efe11243dcdd8cc5244172e6840c47492) [ROCm/clr commit:68238c99d2]
Этот коммит содержится в:
коммит произвёл
Maneesh Gupta
родитель
d7b529ff6e
Коммит
0be27c38f8
@@ -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() {
|
||||
|
||||
Ссылка в новой задаче
Block a user