Skip to content

Commit

Permalink
Oops; these are automatically prefixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Dec 6, 2023
1 parent f624fea commit 6b08f3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rts/c/backends/cuda.h
Original file line number Diff line number Diff line change
Expand Up @@ -811,8 +811,8 @@ int backend_context_setup(struct futhark_context* ctx) {
ctx->max_tile_size = sqrt(ctx->max_group_size);
ctx->max_threshold = 0;
ctx->max_bespoke = 0;
ctx->max_registers = device_query(ctx->dev, CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK);
ctx->max_cache = device_query(ctx->dev, CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE);
ctx->max_registers = device_query(ctx->dev, MAX_REGISTERS_PER_BLOCK);
ctx->max_cache = device_query(ctx->dev, L2_CACHE_SIZE);
ctx->lockstep_width = device_query(ctx->dev, WARP_SIZE);
CUDA_SUCCEED_FATAL(cuStreamCreate(&ctx->stream, CU_STREAM_DEFAULT));
cuda_size_setup(ctx);
Expand Down

0 comments on commit 6b08f3c

Please sign in to comment.