MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / putRemovedKernels

Function putRemovedKernels

src/library/common/kern_cache.c:161–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static void
162putRemovedKernels(struct KernelCache *kcache, ListHead *truncList)
163{
164 struct ListNode *l;
165 struct KernelNode *knode;
166
167 while (1) {
168 l = listNodeFirst(truncList);
169 if (l == truncList) {
170 break;
171 }
172
173 knode = container_of(l, lruNode, KernelNode);
174 listDel(l);
175 putKernel(kcache, &knode->kern);
176 }
177}
178
179Kernel
180*allocKernel(void)

Callers 2

addKernelToCacheFunction · 0.85
cleanKernelCacheFunction · 0.85

Calls 3

listNodeFirstFunction · 0.85
listDelFunction · 0.85
putKernelFunction · 0.85

Tested by

no test coverage detected