cucim
cucim copied to clipboard
[FEA] Support multiple types of memory (Pinned Device memory, Shared CPU/CUDA memory)
Is your feature request related to a problem? Please describe.
We currently support regular CPU and GPU memory for memory allocation. It would be great to support other types of memory.
In cpp/src/cache/image_cache_per_process.cpp
case io::DeviceType::kPinned:
case io::DeviceType::kCPUShared:
case io::DeviceType::kCUDAShared:
fmt::print(stderr, "Device type {} is not supported!\n", device_type);
break;
Originally posted by @jakirkham in https://github.com/rapidsai/cucim/pull/191#discussion_r792433854
Describe the solution you'd like
Leverage feature from https://github.com/rapidsai/cucim/issues/130 to support those types.
Additional context
This is related to the following issues:
- https://github.com/rapidsai/cucim/issues/130