Refactor CUDA kernels and tensor operations for type generality

This commit is contained in:
2025-11-26 20:47:55 +01:00
parent 13d3d38b68
commit 9ff214d759
14 changed files with 818 additions and 297 deletions

View File

@@ -33,7 +33,7 @@ public:
~Tensor();
DType get_dtype();
DType get_dtype() const;
size_t size() const;
size_t numel() const;