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.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/candle-core/src/dummy_cuda_backend.rs b/candle-core/src/dummy_cuda_backend.rs
index 5cc9c6d8..53574458 100644
--- a/candle-core/src/dummy_cuda_backend.rs
+++ b/candle-core/src/dummy_cuda_backend.rs
@@ -167,6 +167,10 @@ impl crate::backend::BackendDevice for CudaDevice {
Err(Error::NotCompiledWithCudaSupport)
}
+ fn set_seed(&self, _: u64) -> Result<()> {
+ Err(Error::NotCompiledWithCudaSupport)
+ }
+
fn location(&self) -> crate::DeviceLocation {
fail!()
}