summaryrefslogtreecommitdiff
path: root/candle-core/src/dummy_cuda_backend.rs
diff options
context:
space:
mode:
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)
}