standards-proposals icon indicating copy to clipboard operation
standards-proposals copied to clipboard

Global device symbol management proposal.

Open Naghasan opened this issue 4 years ago • 0 comments

Some devices can manage global values to push and pull different values. In the CUDA runtime, this is covered by cudaMemcpyToSymbol/cudaMemcpyFromSymbol functions. But other APIs may offer similar functionalities.

This proposal add the possibilities to manage such global values via a new class and new sycl::handler member functions.

The proposal is still a bit incomplete as regular C++ global variable can potentially be handled by the sycl::handler extension without requiring the new 'sycl::symbol' class. but limitation have yet to be explored.

Naghasan avatar Aug 04 '20 12:08 Naghasan