We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a507f9 commit c1e3e18Copy full SHA for c1e3e18
1 file changed
devices/cpu/cpu_device.cpp
@@ -51,8 +51,19 @@ OIDN_NAMESPACE_BEGIN
51
if (arch == CPUArch::Unknown)
52
return {};
53
54
- // Prefer the CPU over some low-power integrated GPUs
55
- int score = (1 << 16) + 61;
+ int score = 0;
+ switch (arch)
56
+ {
57
+ case CPUArch::AVX512_AMXFP16:
58
+ score = (15 << 16);
59
+ break;
60
+
61
+ default:
62
+ // Prefer the CPU over some low-power integrated GPUs
63
+ score = (1 << 16) + 61;
64
65
+ }
66
67
return {makeRef<CPUPhysicalDevice>(score)};
68
}
69
0 commit comments