KhronosGroup / KhronosGroup/OpenCL-CTS

conformance_computeinfo does not test all GPU devices if device type is mentioned through OS envvar.

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

Description

conformance_computeinfo prints config information about devices. User can choose type of the device like gpu, cpu, accerlerator etc from OS envvar.
But it has a flawed logic wherein it would test only one device if device type is mentioned through OS envvar, even if there are multiple devices of same type i.e. it hard codes device index to 0.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the conformance_computeinfo entry point and trace how the OS environment variable selects a device type. Replace the fixed device index 0 behavior so every device of the selected type is tested, then verify the result with an environment-selected type and multiple devices.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.