Skip to content
Snippets Groups Projects

OpenCL macOS support

Merged Michael Kuron requested to merge macos into master

Either my laptop's GPU (Intel Iris Graphics 550) or Apple's OpenCL implementation does not support double precision. This patch checks all kernel arguments for double precision types, though I guess there is probably some easier way to just check the entire AST, but I couldn't figure out how.

Also, get_local_id et al. return size_t per the OpenCL specification, while CUDA's threadIdx et al. return an int, so there is a cast needed to silence a conversion warning.

Merge request reports

Pipeline #19824 passed

Pipeline passed for 885fc9c7 on macos

Test coverage 77.93% (-0.05%) from 1 job

Merged by Martin BauerMartin Bauer 5 years ago (Nov 17, 2019 11:28pm UTC)

Loading

Pipeline #19846 passed

Pipeline passed for 974febd7 on master

Test coverage 77.74% (-0.05%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading