SWDEV-280773 - Log affinity reset

Change-Id: I101c14174097d262d5d5b924cb31a69483a49c04


[ROCm/clr commit: df5b6cf202]
이 커밋은 다음에 포함됨:
Saleel Kudchadker가 2021-05-11 15:52:55 -07:00를 커밋했습니다
1 부모 4b03f02a61
커밋 f42ed0672d
1 파일이 변경됨
+1
+1
파일 보기
@@ -370,6 +370,7 @@ const void* Os::createOsThread(amd::Thread* thread) {
// We never plan the use join, so free the resources now.
::pthread_attr_setdetachstate(&threadAttr, PTHREAD_CREATE_DETACHED);
if (!AMD_CPU_AFFINITY) {
ClPrint(amd::LOG_INFO, amd::LOG_INIT, "Reseting CPU core affinities");
cpu_set_t cpuset;
if (processorCount_ > 0) {
CPU_ZERO(&cpuset);