In Kelp.Net, the hierarchy for various OpenCL resources is as shown here: Let's describe these in more detail.