What is the meaning of "template" “frame" in cuda code?

Seems most cuda op codes have both “op_cuda_template” and “op_cuda_frame” function. The word"template" and “frame” are quite confusing for me… Any background on this naming conversion? Could someone help explain its? :hugs: