KhronosGroup / KhronosGroup/OpenCL-CTS

enqueue an unmap command but not call anly blocking API may cause define behavior

Open
#2,340 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
232
Forks
235
Avg merge
8d 7h
Merged PRs (30d)
18

Description

https://github.com/KhronosGroup/OpenCL-CTS/blob/bb604702a5c34e71697f306b693e812b288828c6/test_conformance/math_brute_force/unary_double.cpp#L307

After clFlush, the memory object processed by unmap(host command) may be released prematurely.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with test_conformance/math_brute_force/unary_double.cpp around line 307 and trace the clFlush, unmap, and memory-object lifetime involved. Determine the expected behavior when no blocking API is called, then add or update coverage so the premature release is prevented and the relevant conformance test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.