Added a device affinity field for kernel version. This field will be used when we want to launch different kernels on different devices for a splitted kernel
Implement device affinity filtering.