summaryrefslogtreecommitdiff
path: root/candle-core/src/dummy_cuda_backend.rs
diff options
context:
space:
mode:
authorlaurent <laurent.mazare@gmail.com>2023-06-28 15:43:03 +0100
committerlaurent <laurent.mazare@gmail.com>2023-06-28 15:43:03 +0100
commit3f0d9fbb257baf94acde184de76eb9667e0fa025 (patch)
tree9bd3217971362a991faac24968f9bf77bf663476 /candle-core/src/dummy_cuda_backend.rs
parentcca699be6c8167f565067ceb3c940dd3c1d87503 (diff)
downloadcandle-3f0d9fbb257baf94acde184de76eb9667e0fa025.tar.gz
candle-3f0d9fbb257baf94acde184de76eb9667e0fa025.tar.bz2
candle-3f0d9fbb257baf94acde184de76eb9667e0fa025.zip
Adapt the cuda bits.
Diffstat (limited to 'candle-core/src/dummy_cuda_backend.rs')
-rw-r--r--candle-core/src/dummy_cuda_backend.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-core/src/dummy_cuda_backend.rs b/candle-core/src/dummy_cuda_backend.rs
index ef079812..8193b1af 100644
--- a/candle-core/src/dummy_cuda_backend.rs
+++ b/candle-core/src/dummy_cuda_backend.rs
@@ -100,7 +100,7 @@ impl CudaStorage {
Err(Error::NotCompiledWithCudaSupport)
}
- pub(crate) fn embedding(&self, _: &Layout, _: &Self, _: usize, _: usize) -> Result<Self> {
+ pub(crate) fn embedding(&self, _: &Layout, _: &Self, _: &Layout) -> Result<Self> {
Err(Error::NotCompiledWithCudaSupport)
}