Skip to content

Consider templated add_malloc_device API #25

@EwanC

Description

@EwanC

We should consider whether we'd like a templated equivalent of our API for adding malloc nodes

node* add_malloc_device(void *&data, size_t numBytes, const std::vector<node>& dep = {});`

e.g

template <typename T>
node* add_malloc_device(void *&data, size_t count, const std::vector<node>& dep = {});

This is equivalent to template <typename T> T* sycl::malloc_device(count, ... and void* sycl::malloc_device(size_t numBytes,...

Metadata

Metadata

Assignees

Labels

Graph SpecificationExtension Specification relatedSpec Revision 2Targetting the second revision of the specificationUSM

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions