mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
The `getNumKernels` function now returns the kernel count based on the actual device (`rootDeviceIndex`) the program was built for, ensuring accurate kernel enumeration in multi-device scenarios. The `rootDeviceIndex` is determined using `getDevicesInProgram`. Related-To: NEO-15441 Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>