From f42ed0672d20ed9dc369da7236f4a16327b21b47 Mon Sep 17 00:00:00 2001 From: Saleel Kudchadker Date: Tue, 11 May 2021 15:28:11 -0700 Subject: [PATCH] SWDEV-280773 - Log affinity reset Change-Id: I101c14174097d262d5d5b924cb31a69483a49c04 [ROCm/clr commit: df5b6cf202892bef5f496af06488797a716cc8f2] --- projects/clr/rocclr/os/os_posix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/rocclr/os/os_posix.cpp b/projects/clr/rocclr/os/os_posix.cpp index ce9b5bdb44..2d5b89a587 100644 --- a/projects/clr/rocclr/os/os_posix.cpp +++ b/projects/clr/rocclr/os/os_posix.cpp @@ -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);