Skip to content

Commit

Permalink
Make: Switch to .cuh extension for CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Jan 16, 2025
1 parent f311a61 commit 37c0581
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,16 @@
},
"cSpell.words": [
"ashvardanian",
"blas",
"CCCL",
"constexpr",
"CUDA",
"Kahan",
"openmp",
"shfl",
"SPIR",
"STREQUAL",
"Vardanian"
"Vardanian",
"wmma"
]
}
4 changes: 2 additions & 2 deletions reduce_cublas.hpp → reduce_cublas.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ struct cuda_blas_t {
}
};

__global__ void cu_reduce_tensors(float const *inputs, unsigned int input_size, float *sums_per_row,
unsigned int columns) {
__global__ void cu_reduce_tensors( //
float const *inputs, unsigned int input_size, float *sums_per_row, unsigned int columns) {

// Tile using a 2D grid
unsigned int first_row_of_block = blockIdx.x * blockDim.x;
Expand Down

0 comments on commit 37c0581

Please sign in to comment.