KhronosGroup / KhronosGroup/OpenCL-Docs

SVM Integration

Open
#1,436 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
420
Forks
131
Avg merge
5d 13h
Merged PRs (30d)
11

Description

Buffers and images can both be created from SVM allocations by using CL_USE_HOST_PTR and they effectively provide a view into the SVM memory. However, the level of consistency in the memory is unknown if buffers and images are used instead of the SVM allocation. I think this kind of fits in with the Vulkan concept of Memory and Buffers/Images. Why not distinguish between the 2 in OpenCL as well with SVM and a new method for device allocation acting as allocators for Memory and the ability to create Buffers/Images from that memory.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the OpenCL memory model and API areas covering SVM allocations, CL_USE_HOST_PTR, buffers, and images, then compare the Vulkan memory and buffer/image concepts referenced in the issue. Done would require a settled proposal that defines the requested device allocation and memory relationship, including its consistency behavior.

Written by the indexing model from the issue text.

Assessment

Domain
api, hpc
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.