Documentation
¶
Index ¶
- func PrefetchBatch(items []unsafe.Pointer)
- func PrefetchCandidates(candidates []interface{})
- func PrefetchDistanceMatrix(matrix [][]float32, row, col int)
- func PrefetchLoop(ptr unsafe.Pointer, stride, count, prefetchDistance int)
- func PrefetchNTA(ptr unsafe.Pointer)
- func PrefetchNeighbors(neighbors []interface{})
- func PrefetchNode(node interface{})
- func PrefetchNodeBatch(nodes []interface{})
- func PrefetchRandom(data []byte, indices []int)
- func PrefetchResults(results []interface{})
- func PrefetchSequential(data []byte)
- func PrefetchSlice(slice []float32, offset int)
- func PrefetchT0(ptr unsafe.Pointer)
- func PrefetchT1(ptr unsafe.Pointer)
- func PrefetchT2(ptr unsafe.Pointer)
- func PrefetchVector(vector []float32)
- func PrefetchVectorBatch(vectors [][]float32)
- func PrefetchVectorPair(a, b []float32)
- func PrefetchWithDistance(a, b []float32, offset int)
- func PrefetchWithStride(ptr unsafe.Pointer, stride, count int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrefetchCandidates ¶
func PrefetchCandidates(candidates []interface{})
PrefetchCandidates 预取候选节点
func PrefetchDistanceMatrix ¶
PrefetchDistanceMatrix 预取距离矩阵
func PrefetchLoop ¶
PrefetchLoop 循环预取
func PrefetchNTA ¶
PrefetchNTA 预取数据到L1缓存,不污染其他缓存级别 NTA: Non-Temporal Access,不污染其他缓存
func PrefetchT0 ¶
PrefetchT0 预取数据到所有缓存级别 T0: 预取到所有缓存级别(L1, L2, L3)
func PrefetchWithDistance ¶
PrefetchWithDistance 预取距离计算所需的数据
func PrefetchWithStride ¶
PrefetchWithStride 带步长的预取
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.