Skip to content
Snippets Groups Projects
Commit 0dbab68b authored by 数学の武士's avatar 数学の武士
Browse files

Thread count fix for noit sheba

parent ef278ad5
No related branches found
No related tags found
No related merge requests found
......@@ -286,8 +286,8 @@ void FluxSheba<T, memIn, memOut, MemType::GPU>::noit_compute_flux(const sfx_sheb
const sfx_sheba_noit_numericsType_C numerics,
const sfx_phys_constants phys)
{
const int BlockCount = int(ceil(float(grid_size) / 1024.0));
dim3 cuBlock = dim3(1024, 1, 1);
const int BlockCount = int(ceil(float(grid_size) / 512.0));
dim3 cuBlock = dim3(512, 1, 1);
dim3 cuGrid = dim3(BlockCount, 1, 1);
sfx_kernel::noit_compute_flux<T><<<cuGrid, cuBlock>>>(sfx, meteo, model,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment