Skip to content

Commit

Permalink
[skip ci] enforce code format
Browse files Browse the repository at this point in the history
  • Loading branch information
taichi-gardener committed Oct 25, 2020
1 parent 0e9ce28 commit eb0c6e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions taichi/backends/metal/shaders/runtime_kernels.metal.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ static_assert(false, "Do not include");
METAL_BEGIN_RUNTIME_KERNELS_DEF
STR(
// clang-format on
kernel void element_listgen(device byte *runtime_addr [[buffer(0)]],
device byte *root_addr [[buffer(1)]],
device int *args [[buffer(2)]],
const uint utid_ [[thread_position_in_grid]],
const uint grid_size [[threads_per_grid]]) {
kernel void element_listgen(device byte *runtime_addr[[buffer(0)]],
device byte *root_addr[[buffer(1)]],
device int *args[[buffer(2)]],
const uint utid_[[thread_position_in_grid]],
const uint grid_size[[threads_per_grid]]) {
device Runtime *runtime =
reinterpret_cast<device Runtime *>(runtime_addr);
device MemoryAllocator *mem_alloc =
Expand Down

0 comments on commit eb0c6e4

Please sign in to comment.