-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mayank Mishra <[email protected]>
- Loading branch information
1 parent
93909d5
commit 18b0cf2
Showing
5 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
cute_kernels/kernels/add/add_scalar/cuda_implementation/ops.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#include <torch/extension.h> | ||
|
||
#include "../../../../include/dtypes/alias.h" | ||
|
||
void add_scalar_cuda(const torch::Tensor &x, const fp32 &y, torch::Tensor &output, const uint32 &BLOCK_SIZE); | ||
|
||
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { m.def("add_scalar_cuda", &add_scalar_cuda, "Scalar addition (CUDA)"); } |
2 changes: 2 additions & 0 deletions
2
cute_kernels/kernels/add/add_tensor/cuda_implementation/ops.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#include <torch/extension.h> | ||
|
||
#include "../../../../include/dtypes/alias.h" | ||
|
||
void add_tensor_cuda(const torch::Tensor &x, const torch::Tensor &y, torch::Tensor &output, const uint32 &BLOCK_SIZE); | ||
|
||
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) { m.def("add_tensor_cuda", &add_tensor_cuda, "Tensor addition (CUDA)"); } |
2 changes: 2 additions & 0 deletions
2
cute_kernels/kernels/continuous_count/cuda_implementation/ops.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
cute_kernels/kernels/continuous_count_and_sort/cuda_implementation/ops.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters