Skip to content

Commit 57a7684

Browse files
committed
Fix m4 p core binding
1 parent 5d41fea commit 57a7684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ void bind_to_core() {
785785
fprintf(stderr, "Pinned to cpu %d\n", core);
786786
}
787787
#elif defined(__APPLE__) && !defined(IOS)
788-
#if defined(APPLE_M1_FIRESTORM) || defined(APPLE_M2_AVALANCHE)
788+
#if defined(APPLE_PCORE)
789789
// p core
790790
fprintf(stderr, "Bind to P core on macOS\n");
791791
pthread_set_qos_class_self_np(QOS_CLASS_USER_INTERACTIVE, 0);

0 commit comments

Comments
 (0)