summaryrefslogtreecommitdiff
path: root/src/dummy_cuda_backend.rs
diff options
context:
space:
mode:
authorlaurent <laurent.mazare@gmail.com>2023-06-22 13:52:02 +0100
committerlaurent <laurent.mazare@gmail.com>2023-06-22 13:52:02 +0100
commite1eb86db61d789627105ca0929b9fd83b1bf991e (patch)
tree9c22ec9542d9eecf18104e3674b492ec6d677836 /src/dummy_cuda_backend.rs
parent83d619800950a5f4314fa6bb885835dbfbf9dfcf (diff)
downloadcandle-e1eb86db61d789627105ca0929b9fd83b1bf991e.tar.gz
candle-e1eb86db61d789627105ca0929b9fd83b1bf991e.tar.bz2
candle-e1eb86db61d789627105ca0929b9fd83b1bf991e.zip
Add some first binary op (add).
Diffstat (limited to 'src/dummy_cuda_backend.rs')
-rw-r--r--src/dummy_cuda_backend.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dummy_cuda_backend.rs b/src/dummy_cuda_backend.rs
index 2eb393c1..16e78fbe 100644
--- a/src/dummy_cuda_backend.rs
+++ b/src/dummy_cuda_backend.rs
@@ -53,4 +53,8 @@ impl CudaStorage {
pub(crate) fn affine_impl(&self, _: &Shape, _: &[usize], _: f64, _: f64) -> Result<Self> {
Err(Error::NotCompiledWithCudaSupport)
}
+
+ pub(crate) fn add_impl(&self, _: &Self, _: &Shape, _: &[usize], _: &[usize]) -> Result<Self> {
+ Err(Error::NotCompiledWithCudaSupport)
+ }
}