SWDEV-351969 - TLS Optimization
- Aggregate all TLS(Thread Local Storage) variables into a single class
- This is to improve cache accesses per thread
Change-Id: Ic8361eaeae290fff00254684e309471958365eb9
[ROCm/clr commit: 8b391ef18c]
Этот коммит содержится в:
1 родитель
2be45a82ec
Коммит
f149b21399
9 files changed
+145
-115
No files matched your search
@@ -24,7 +24,7 @@ THE SOFTWARE.
|
||||
#include "hiprtcInternal.hpp"
|
||||
|
||||
namespace hiprtc {
|
||||
thread_local hiprtcResult g_lastRtcError = HIPRTC_SUCCESS;
|
||||
thread_local TlsAggregator tls;
|
||||
}
|
||||
|
||||
const char* hiprtcGetErrorString(hiprtcResult x) {
|
||||
|
||||
Reference in new issue
Block a user