microsoft / microsoft/OpenCLOn12

Support for `cl_ext_buffer_device_address`

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
130
Forks
19
Avg merge
11d 23h
Merged PRs (30d)
2

Description

Would it feasible to support the cl_ext_buffer_device_address extension in clOn12?
More on that here: https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_API.html#cl_ext_buffer_device_address
I think the core of this spec can be supported through GetGPUVirtualAddress method
This would help us support OpenCLOn12 as an OpenCL backend for Windows for our own software, which relies on either this or SVM.
Its supported in Mesa's Rusticl and pocl drivers as of yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked OpenCL cl_ext_buffer_device_address specification and the Direct3D 12 GetGPUVirtualAddress API referenced in the issue. Determine the extension behavior that clOn12 would need to expose and whether that mapping is feasible; done means the support scope and validation approach are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.