BYOC CodeGen for customized Call Node/Operator

How to specify my customized codegen when building the model? For example, my customized codegen will generate CUDA kernel code and the host code, should I still keep the target='cuda'?