summaryrefslogtreecommitdiff
path: root/candle-core/src/dummy_cuda_backend.rs
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2023-06-29 10:14:12 +0100
committerGitHub <noreply@github.com>2023-06-29 10:14:12 +0100
commitc8fc9da73701e3f5d16695d6a38d55d471c7b82c (patch)
treed517caf2aedb654261a3dccadb95eeb4badc958e /candle-core/src/dummy_cuda_backend.rs
parenteda46d2df20f1b6186473e8ee7a26c2d36aa05df (diff)
parentc9c468e1aaf0ce071b145f15aba830e9600fd6e6 (diff)
downloadcandle-c8fc9da73701e3f5d16695d6a38d55d471c7b82c.tar.gz
candle-c8fc9da73701e3f5d16695d6a38d55d471c7b82c.tar.bz2
candle-c8fc9da73701e3f5d16695d6a38d55d471c7b82c.zip
Merge pull request #33 from LaurentMazare/cuda-map
Simplify the dtype matchings in the cuda backend
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 8193b1af..b025eeab 100644
--- a/candle-core/src/dummy_cuda_backend.rs
+++ b/candle-core/src/dummy_cuda_backend.rs
@@ -44,7 +44,7 @@ impl CudaDevice {
pub struct CudaStorage;
impl CudaStorage {
- pub fn try_clone(&self) -> Result<Self> {
+ pub fn try_clone(&self, _: &Layout) -> Result<Self> {
Err(Error::NotCompiledWithCudaSupport)
}