You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sycl/doc/KernelProgramCache.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -127,15 +127,15 @@ Invoked by user `program::build_with_kernel_type<>()` and
127
127
`program::get_kernel<>()` methods will call either
128
128
`ProgramManager::getBuildPIProgram()` or `ProgramManager::getOrCreateKernel()`
129
129
method respectively. Now, both these methods will call template
130
-
function [`getOrBuild()`](../source/detail/program_manager/program_manager.cpp#L149)
130
+
function [`getOrBuild()`](https://github.com/intel/llvm/blob/sycl/sycl/source/detail/program_manager/program_manager.cpp#L149)
131
131
with multiple lambdas passed to it:
132
132
- Acquire function;
133
133
- GetCache function;
134
134
- Build function.
135
135
136
136
*Acquire* function returns a locked version of cache. Locking is employed for
137
137
thread safety. The threads are blocked only for insert-or-acquire attempt, i.e.
138
-
when calling to `map::insert` in [`getOrBuild`](../source/detail/program_manager/program_manager.cpp#L149)
138
+
when calling to `map::insert` in [`getOrBuild`](https://github.com/intel/llvm/blob/sycl/sycl/source/detail/program_manager/program_manager.cpp#L149)
139
139
function. The rest of operation is done with the help of atomics and condition
140
140
variables (plus a mutex for proper work of condition variable).
0 commit comments