Skip to content
This repository was archived by the owner on May 13, 2022. It is now read-only.
This repository was archived by the owner on May 13, 2022. It is now read-only.

Modify pool_allocator to return generic buffers instead of unique_ptr #12

@j-stephan

Description

@j-stephan

This is needed for OpenCL compatibility. Unlike CUDA OpenCL returns opaque cl_mem objects instead of pointers upon allocation. In order to use the pool_allocator together with OpenCL we should return a buffer object that encapsulates the runtime memory object.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions