Skip to content

Commit

Permalink
[macos] handle apple with intel processor
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jan 26, 2025
1 parent 7215e6b commit 8656e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mmc_cl_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ cl_platform_id mcx_list_cl_gpu(mcconfig* cfg, unsigned int* activedev, cl_device
} else if (strstr(pbuf, "Intel") && strstr(cuinfo.name, "Graphics") && j == 0) {
cuinfo.autoblock = 64;
cuinfo.vendor = dvIntelGPU;
} else if (strstr(pbuf, "Intel")) {
} else if (strstr(pbuf, "Intel" || strstr(cuinfo.name, "Intel"))) {
cuinfo.vendor = dvIntel;
}

Expand Down

0 comments on commit 8656e99

Please sign in to comment.