CPU_KERNELS calculation fixed

CPU_KERNELS calculation fixed