Skip to content

Commit

Permalink
ditto for nd_rasterize
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkchan committed Apr 14, 2024
1 parent b6c877e commit 043c9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/gsplat-metal/gsplat_metal.mm
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ void dispatchKernel(MetalContext* ctx, id<MTLComputePipelineState> cpso, MTLSize
int32_t block_size_dim2[2] = {std::get<0>(block), std::get<1>(block)};

MetalContext* ctx = get_global_context();
MTLSize grid_size = MTLSizeMake(img_height, img_width, 1);
MTLSize grid_size = MTLSizeMake(img_width, img_height, 1);
MTLSize thread_group_size = MTLSizeMake(block_size_dim2[0], block_size_dim2[1], 1);
dispatchKernel(ctx, ctx->nd_rasterize_forward_kernel_cpso, grid_size, thread_group_size, {
EncodeArg::array(tile_bounds_arr, sizeof(tile_bounds_arr)),
Expand Down

0 comments on commit 043c9b2

Please sign in to comment.