Revert "SWDEV-508980 - [6.4 Preview] fix hipDeviceSetCacheConfig during stream capture"
This reverts commit04dc7ca51f. Reason for revert: 6.4 Preview changes need not be merged to amd-staging as of now Change-Id: I04af8603053338f08c396e78ff8a6715e641ca19 [ROCm/clr commit:3fa6049c46]
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user