Created
February 27, 2023 12:51
-
-
Save haydnv/7a67ce723cdb2865b43dd6c9cea4370f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0277]: the trait bound `cuda_device::CUDA: shape::Shape` is not satisfied | |
--> src/devices/cuda/cuda_device.rs:168:20 | |
| | |
168 | impl<T: CDatatype> ClearBuf<T, CUDA> for CUDA { | |
| ^^^^^^^^^^^^^^^^^ the trait `shape::Shape` is not implemented for `cuda_device::CUDA` | |
| | |
= help: the following other types implement trait `shape::Shape`: | |
() | |
Dim3<C, B, A> | |
shape::Dim1<N> | |
shape::Dim2<B, A> | |
note: required by a bound in `op_traits::ClearBuf` | |
--> src/op_traits.rs:8:26 | |
| | |
8 | pub trait ClearBuf<T, S: Shape = (), D: Device = Self>: Device { | |
| ^^^^^ required by this bound in `op_traits::ClearBuf` | |
error[E0277]: the trait bound `cuda_device::CUDA: shape::Shape` is not satisfied | |
--> src/devices/cuda/cuda_device.rs:204:9 | |
| | |
204 | impl<T> WriteBuf<T, CUDA> for CUDA { | |
| ^^^^^^^^^^^^^^^^^ the trait `shape::Shape` is not implemented for `cuda_device::CUDA` | |
| | |
= help: the following other types implement trait `shape::Shape`: | |
() | |
Dim3<C, B, A> | |
shape::Dim1<N> | |
shape::Dim2<B, A> | |
note: required by a bound in `op_traits::WriteBuf` | |
--> src/op_traits.rs:81:26 | |
| | |
81 | pub trait WriteBuf<T, S: Shape = (), D: Device = Self>: Device { | |
| ^^^^^ required by this bound in `op_traits::WriteBuf` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment