Missing test coverage for clCreateProgramWithBinary with multiple devices in device_list

Open
#2,540 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Locate the existing single-device tests for clCreateProgramWithBinary and review how they validate device_list and binary_status[]. Add coverage for multiple devices, including the required error conditions and binary_status[] updates. Run the relevant OpenCL Conformance Tests program tests and confirm the new cases pass.

Written by the indexing model from the issue text.

Description

According to spec for clCreateProgramWithBinary:

The devices associated with the program object will be the list of devices specified by device_list. The list of devices specified by device_list must be devices associated with context.

The spec requires that all devices in device_list are associated with the provided context, but current tests only validate single-device behavior.
Additional coverage is needed to verify handling of multiple devices, especially regarding error conditions and binary_status[] updates.

Dominant language
C++
Stars
234
Forks
240
Avg merge
6d 12h
Merged PRs (30d)
15

Getting set up

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.

More from KhronosGroup/OpenCL-CTS

All issues in KhronosGroup/OpenCL-CTS

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.