-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address TODO for kernel arg properties
Solve the TODO issues with properties that decorate kernel parameter by: * Move the C++ attribute from the parameter's class to a member variable inside the class. The author of the header file will need to decide with member variable to attach the properties to. * Restrict the C++ attribute, so it is only used to decorate a SYCL "special class". When a value of this type is passed as a kernel parameter, each member variable is passed as a separate parameter to the kernel's function. As a result, there is no ambiguity about which function parameter receives the property.
- Loading branch information
Showing
1 changed file
with
46 additions
and
57 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