Home
last modified time | relevance | path

Searched refs:shapeAlloc (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DMemRefUtils.h65 ArrayRef<int64_t> shapeAlloc) { in makeStridedMemRefDescriptor() argument
67 assert(shapeAlloc.size() == N); in makeStridedMemRefDescriptor()
73 auto strides = makeStrides<N>(shapeAlloc); in makeStridedMemRefDescriptor()
86 ArrayRef<int64_t> shapeAlloc = {}) {
88 assert(shapeAlloc.size() == N);
146 ArrayRef<int64_t> shape, ArrayRef<int64_t> shapeAlloc = {},
155 if (shapeAlloc.empty()) in freeFunc()
156 shapeAlloc = shape; in freeFunc()
158 assert(shapeAlloc.size() == Rank); in freeFunc()
160 assert(shape[i] <= shapeAlloc[i] && in freeFunc()
[all …]
/llvm-project-15.0.7/mlir/unittests/ExecutionEngine/
H A DInvoke.cpp195 int64_t shapeAlloc[] = {k + 1, m + 1}; in TEST() local
196 OwningMemRef<float, 2> a(shape, shapeAlloc, init); in TEST()
252 int64_t shapeAlloc[] = {k + 1, m + 1}; in TEST() local
253 OwningMemRef<float, 2> a(shape, shapeAlloc); in TEST()