-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CL] Atomic fence scope capability for Intel FPGA driver
This patch implements a workaround for the Intel FPGA driver which is currently an OpenCL 1.2 device which also supports `UR_MEMORY_SCOPE_CAPABILITY_FLAG_DEVICE` rather than the baseline for OpenCL 1.2 devices. The workaround unconditionally queries for `CL_DEVICE_ATOMIC_FENCE_CAPABILITIES`, if it is successful the value is used. Otherwise the error code is ignored and the baseline capabilities are returned.
- Loading branch information
Showing
1 changed file
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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