Lines Matching refs:kernel
32 struct ir3_kernel *kernel = calloc(1, sizeof(*kernel)); in ir3_asm_assemble() local
33 struct ir3_shader *shader = ir3_parse_asm(c, &kernel->info, in); in ir3_asm_assemble()
40 kernel->v = v; in ir3_asm_assemble()
41 kernel->bin = v->bin; in ir3_asm_assemble()
43 kernel->base.local_size[0] = v->local_size[0]; in ir3_asm_assemble()
44 kernel->base.local_size[1] = v->local_size[1]; in ir3_asm_assemble()
45 kernel->base.local_size[2] = v->local_size[2]; in ir3_asm_assemble()
46 kernel->base.num_bufs = kernel->info.num_bufs; in ir3_asm_assemble()
47 memcpy(kernel->base.buf_sizes, kernel->info.buf_sizes, in ir3_asm_assemble()
48 sizeof(kernel->base.buf_sizes)); in ir3_asm_assemble()
49 memcpy(kernel->base.buf_addr_regs, kernel->info.buf_addr_regs, in ir3_asm_assemble()
50 sizeof(kernel->base.buf_addr_regs)); in ir3_asm_assemble()
56 memcpy(fd_bo_map(v->bo), kernel->bin, sz); in ir3_asm_assemble()
58 return kernel; in ir3_asm_assemble()