Skip to content
Snippets Groups Projects
Commit 429e5fb8 authored by Leyuan Wang's avatar Leyuan Wang Committed by Tianqi Chen
Browse files

[Metal] Fix block launching parameter (#1219)

parent b266dcfb
No related branches found
No related tags found
No related merge requests found
......@@ -215,7 +215,7 @@ class MetalWrappedFunc {
MTLSize dimGrid = MTLSizeMake(
wl.grid_dim(0), wl.grid_dim(1), wl.grid_dim(2));
MTLSize dimBlock = MTLSizeMake(
wl.block_dim(0), wl.block_dim(1), wl.work_size[2]);
wl.block_dim(0), wl.block_dim(1), wl.block_dim(2));
[encoder dispatchThreadgroups: dimGrid
threadsPerThreadgroup: dimBlock];
[encoder endEncoding];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment