← 返回首页
Fixed Issue 3558 cl::Platform type incompatibility with OpenCL-HPP v2023.12.14 by edwinsolisf · Pull Request #3562 · arrayfire/arrayfire · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Fixed Issue 3558 cl::Platform type incompatibility with OpenCL-HPP v2023.12.14#3562

Merged
umar456 merged 1 commit into
arrayfire:masterfrom
edwinsolisf:issue3558
Aug 2, 2024
Merged

Fixed Issue 3558 cl::Platform type incompatibility with OpenCL-HPP v2023.12.14#3562
umar456 merged 1 commit into
arrayfire:masterfrom
edwinsolisf:issue3558

Conversation

Copy link
Copy Markdown
Contributor

Fix compilation error due to OpenCL HPP headers change in the type returned by getInfo<CL_DEVICE_PLATFORM>()

Description

  • Is this a new feature or a bug fix?: Bug Fix
  • More detail if necessary to describe all commits in pull request: change explicit cl_platform_id type to auto
  • Why these changes are necessary: fixes incompatibility when compilation with a more recent version of opencl hpp headers
  • Potential impact on specific hardware, software or backends: greater compatibility of opencl versions
  • New functions and their functionality: None
  • Can this PR be backported to older versions?: Yes
  • Future changes not implemented in this PR.: None

Fixes: #3558

Changes to Users

  • No options added to the build.
  • No action required by the user

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • Functions added to unified API
  • Functions documented

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Build] cannot convert ‘cl::Platform’ to ‘cl_platform_id’

2 participants

Footer

© 2026 GitHub, Inc.