SWDEV-336538 - Return hipErrorNotSupported for unsupported APIs

Change-Id: Ie54771c2f58eebacdc0248bc116ef093f99eb9b8


[ROCm/clr commit: c6647487e0]
Cette révision appartient à :
Satyanvesh Dittakavi
2022-06-09 15:20:46 +00:00
Parent 4c12b879e3
révision 32a73102ea
+2 -2
Voir le fichier
@@ -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 ) {