File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ namespace detail {
2121using FastKernelCacheKeyT = std::pair<ur_device_handle_t , ur_context_handle_t >;
2222
2323struct FastKernelCacheVal {
24- ur_kernel_handle_t MKernelHandle; /* UR kernel handle pointer. */
25- std::mutex *MMutex; /* Mutex guarding this kernel. */
26- const KernelArgMask *MKernelArgMask; /* Eliminated kernel argument mask. */
27- ur_program_handle_t MProgramHandle; /* UR program handle corresponding to
28- this kernel. */
29- const Adapter *MAdapterPtr; /* We can keep raw pointer to the
30- adapter because during 2-stage shutdown
31- the kernel cache is destroyed
32- deliberately before the adapter. */
24+ ur_kernel_handle_t MKernelHandle; /* UR kernel handle pointer. */
25+ std::mutex *MMutex; /* Mutex guarding this kernel. */
26+ const KernelArgMask *MKernelArgMask; /* Eliminated kernel argument mask. */
27+ ur_program_handle_t MProgramHandle; /* UR program handle corresponding to
28+ this kernel. */
29+ const Adapter *MAdapterPtr; /* We can keep raw pointer to the
30+ adapter because during 2-stage shutdown
31+ the kernel cache is destroyed
32+ deliberately before the adapter. */
3333
3434 FastKernelCacheVal (ur_kernel_handle_t KernelHandle, std::mutex *Mutex,
3535 const KernelArgMask *KernelArgMask,
You can’t perform that action at this time.
0 commit comments