File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ using Platform = sycl::platform;
1616using Queue = sycl::queue;
1717using Event = sycl::event;
1818using Context = sycl::context;
19+ using Kernel = sycl::kernel;
1920using SourceKernelBundle = sycl::kernel_bundle<sycl::bundle_state::ext_oneapi_source>;
2021using ExecutableKernelBundle = sycl::kernel_bundle<sycl::bundle_state::executable>;
2122} // namespace sycl_shims
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ pub mod ffi {
2525 type Context = crate :: types:: ffi:: Context ;
2626 #[ namespace = "sycl_shims" ]
2727 type Event = crate :: types:: ffi:: Event ;
28+ #[ namespace = "sycl_shims" ]
29+ type Kernel = crate :: types:: ffi:: Kernel ;
2830
2931 fn new_queue ( ) -> UniquePtr < Queue > ;
3032 fn new_queue_immediate ( ) -> UniquePtr < Queue > ;
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ pub mod ffi {
3838 type Queue ;
3939 type Event ;
4040 type Context ;
41+ type Kernel ;
4142 type SourceKernelBundle ;
4243 type ExecutableKernelBundle ;
4344 }
You can’t perform that action at this time.
0 commit comments