-
Notifications
You must be signed in to change notification settings - Fork 798
Closed as not planned
Closed as not planned
Copy link
Labels
enhancementNew feature or requestNew feature or requestsyclcompatIssues related to SYCLcompatIssues related to SYCLcompat
Description
Is your feature request related to a problem? Please describe
When providing the function template parameter to syclcompat::launch
, the template arguments are not deduced from the type of args
. This can make it easy to get wrong, while also making the code more verbose. Here is an example issue: intel/cutlass-sycl#276 (comment)
Describe the solution you would like
Find a way to deduce the template arguments for the F
template parameter of syclcompat::launch
and syclcompat::experimental::launch
.
Describe alternatives you have considered
In the example above, @rolandschulz suggested converting the function to a functor struct with a templated operator()
. Unfortunately, I can't see a way to create that class from function via template meta-programming.
Additional context
I believe the issue is that you can't pass an unspecialized function as a template parameter (could be wrong).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestsyclcompatIssues related to SYCLcompatIssues related to SYCLcompat