Revert "SWDEV-508980 - [6.4 Preview] fix hipDeviceSetCacheConfig during stream capture"

This reverts commit 9faaf20aae.

Reason for revert: 6.4 Preview changes need not be merged to amd-staging as of now

Change-Id: I04af8603053338f08c396e78ff8a6715e641ca19
Этот коммит содержится в:
Rakesh Roy
2025-03-07 06:40:44 -05:00
родитель 8f54aeb765
Коммит 3fa6049c46
-5
Просмотреть файл
@@ -578,11 +578,6 @@ hipError_t hipDeviceSetCacheConfig(hipFuncCache_t cacheConfig) {
cacheConfig != hipFuncCachePreferL1 && cacheConfig != hipFuncCachePreferEqual) {
HIP_RETURN(hipErrorInvalidValue);
}
if (DEBUG_HIP_7_PREVIEW & amd::CHANGE_HIP_STREAM_CAPTURE_API) {
if (!hip::tls.capture_streams_.empty() || !g_captureStreams.empty()) {
HIP_RETURN(hipErrorStreamCaptureUnsupported);
}
}
// No way to set cache config yet.