KhronosGroup / KhronosGroup/OpenCL-SDK

C samples checking for CL_HPP defines

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
777
Forks
163
Avg merge
6d 17h
Merged PRs (30d)
2

Description

Several C-based samples are checking for the C++-based CL_HPP_TARGET_OPENCL_VERSION define, see comment here: https://github.com/KhronosGroup/OpenCL-SDK/pull/91#discussion_r1395576205

We should change these to look for CL_VERSION_X_Y enums instead, or remove them entirely.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the C-based samples that check CL_HPP_TARGET_OPENCL_VERSION and review the discussion linked from PR #91. Update the affected checks to use CL_VERSION_X_Y enums or remove them, and confirm that all such sample checks are consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
tooling
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.