-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi @dermesser, thank you for this super useful crate! I'm trying to use the SharedCache option like so:
#[memoize(SharedCache)
fn my_function(arg: &'static str) -> Result<Struct, Error> {
/// ...
}But when I try to compile this I get:
$ cargo test --features=all
Compiling ha-ndarray v0.2.0 (/.../ha-ndarray)
error[E0599]: no method named `with` found for struct `MEMOIZED_MAPPING_READ_SLICE` in the current scope
--> src/opencl/programs/slice.rs:65:1
|
65 | #[memoize(SharedCache, Capacity: 1024)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| method `with` not found for this struct
| method not found in `MEMOIZED_MAPPING_READ_SLICE`This is on version 0.4.1. Do you have any ideas about what might be going on?
Metadata
Metadata
Assignees
Labels
No labels