Skip to content

Instantly share code, notes, and snippets.

@ailzhang
Created November 8, 2021 01:16
Show Gist options
  • Save ailzhang/48b6126cabae2e9f2d35da02b210a719 to your computer and use it in GitHub Desktop.
Save ailzhang/48b6126cabae2e9f2d35da02b210a719 to your computer and use it in GitHub Desktop.
{
"aot_data": {
"kernels": {
"0": {
"program": {
"kernels": {
"0": {
"kernel_name" : "init_c40_00",
"kernel_src" : ".//taichi_example.tcb_init_c40_00.glsl",
"workgroup_size": "128",
"num_groups": "2"}},
"arg_count": "0",
"ret_count": "0",
"args_buf_size": "0",
"total_ext_arr_size": "0",
"ret_buf_size": "0",
"ext_arr_map": {
},
"ext_arr_access": {
},
"str_table": {
"0" : ""}},
"identifier" : "init"}},
"kernel_tmpls": {
"0": {
"program": {
"key" : "n=6/",
"value": {
"kernels": {
"0": {
"kernel_name" : "foo_c44_00",
"kernel_src" : ".//taichi_example.tcb_foo_c44_00.glsl",
"workgroup_size": "128",
"num_groups": "1"}},
"arg_count": "0",
"ret_count": "0",
"args_buf_size": "0",
"total_ext_arr_size": "0",
"ret_buf_size": "0",
"ext_arr_map": {
},
"ext_arr_access": {
},
"str_table": {
}}},
"identifier" : "foo"}},
"fields": {
"0": {
"field_name" : "density_a",
"dtype": "5126",
"dtype_name" : "f32",
"shape": {
"0": "16",
"1": "16"},
"is_scalar": "true",
"row_num": "1",
"column_num": "1"},
"1": {
"field_name" : "density_b",
"dtype": "5126",
"dtype_name" : "f32",
"shape": {
"0": "12",
"1": "12"},
"is_scalar": "true",
"row_num": "1",
"column_num": "1"},
"2": {
"field_name" : "density_c",
"dtype": "5126",
"dtype_name" : "f32",
"shape": {
"0": "5",
"1": "5"},
"is_scalar": "true",
"row_num": "1",
"column_num": "1"},
"3": {
"field_name" : "a",
"dtype": "5126",
"dtype_name" : "f32",
"shape": {
"0": "16",
"1": "16"},
"is_scalar": "true",
"row_num": "1",
"column_num": "1"}},
"root_buffer_size": "3328"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment