SWDEV-336538 - Return hipErrorNotSupported for unsupported APIs

Change-Id: Ie54771c2f58eebacdc0248bc116ef093f99eb9b8


[ROCm/clr commit: c6647487e0]
Tá an tiomantas seo le fáil i:
Satyanvesh Dittakavi tiomanta 2022-06-23 07:31:31 -04:00
1 tuismitheoir 4c12b879e3
tiomantas 32a73102ea
1 comhad athraithe
+2 -2
+2 -2
Féach ar an gComhad
@@ -465,7 +465,7 @@ hipError_t hipDeviceSetCacheConfig ( hipFuncCache_t cacheConfig ) {
// No way to set cache config yet.
HIP_RETURN(hipSuccess);
HIP_RETURN(hipErrorNotSupported);
}
hipError_t hipDeviceSetLimit ( hipLimit_t limit, size_t value ) {
@@ -492,7 +492,7 @@ hipError_t hipDeviceSetSharedMemConfig ( hipSharedMemConfig config ) {
// No way to set cache config yet.
HIP_RETURN(hipSuccess);
HIP_RETURN(hipErrorNotSupported);
}
hipError_t hipDeviceSynchronize ( void ) {