-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCLomatic] Enable the migration of kernel function pointer with new…
… introduced helper class: kernel_launcher and wrapper_register (#2561) Key changes during migration: 1. For each CUDA kernel, generate a kernel_wrapper() (which actually is SYCL code to submit a kernel) if the CUDA kernel has been called indirectly. (eg. by function pointer) 2. The kernel_wrapper() is launched by launch() member function of new helper class kernel_launcher. 3. If the CUDA kernel is called by a raw pointer, then the new helper class wrapper_register is used to register the map relationship between raw pointer and real kernel_wrappper(). Note: No change for migration of direct kernel call. Signed-off-by: intwanghao <hao3.wang@intel.com>
- Loading branch information
1 parent
d236fce
commit c0852a0
Showing
18 changed files
with
988 additions
and
217 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.