forked from alpaka-group/alpaka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show better error message if kernel argument is not trivially copyable
fix alpaka-group#1922 Currently, alpaka is checking all kernel arguments with the fold expression that all arguments are trivially copyable. The problem is if one argument is not trivially copyable the user does not know which. By checking each argument separately and providing the index to the validator class the user gets the information on which argument produces issues. This simplifies the debugging a lot.
- Loading branch information
1 parent
78e984d
commit 70cb398
Showing
1 changed file
with
66 additions
and
47 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