KhronosGroup / KhronosGroup/OpenCL-CLHPP

Clarification of SVM Usage in Example

Open
#332 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
425
Forks
133
Avg merge
3h 30m
Merged PRs (30d)
1

Description

The examples pass a `coarse_svm_vector` to a kernel functor without explicitly calling `unmap`, isn't that undefined behavior since the allocator maps on creation?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the examples that pass `coarse_svm_vector` to a kernel functor and trace how the allocator maps it on creation. Check the OpenCL-CLHPP usage and relevant OpenCL SVM semantics; the issue is done when the required `unmap` behavior is confirmed and the example or its documentation clearly explains it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.