static const int NUM_KERNELS The following constant defines the number of KERNELS that have been built in the HW…