cudbg_ch_cntxt
struct cudbg_ch_cntxt *buff = NULL;
size += sizeof(struct cudbg_ch_cntxt) * max_ctx_qid[i];
size += sizeof(struct cudbg_ch_cntxt) *
buff = (struct cudbg_ch_cntxt *)scratch_buff.data;
total_size += sizeof(struct cudbg_ch_cntxt);
sizeof(struct cudbg_ch_cntxt);