Searched refs:offset_elements (Results 1 – 3 of 3) sorted by relevance
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_fill.cpp | 562 …nt loops, void *inptr[5], void *hostptr[5], void *pattern[5], size_t offset_elements, size_t fill_… in test_buffer_fill() argument 638 ptrSizes[i] * offset_elements, ptrSizes[i] * fill_elements, 0, in test_buffer_fill() 709 size_t j, offset_elements, fill_elements; in test_buffer_fill_struct() local 745 offset_elements = in test_buffer_fill_struct() 748 8.f, (float)(num_elements - offset_elements), d); in test_buffer_fill_struct() 750 (int)offset_elements, (int)fill_elements); in test_buffer_fill_struct() 757 for (j = 0; j < offset_elements; j++) in test_buffer_fill_struct() 762 for (j = offset_elements; j < offset_elements + fill_elements; j++) in test_buffer_fill_struct() 767 for (j = offset_elements + fill_elements; j < (size_t)num_elements; in test_buffer_fill_struct() 812 queue, buffers[0], &pattern, ptrSize, ptrSize * offset_elements, in test_buffer_fill_struct() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | vector_support_library.h | 153 llvm::Value* offset_elements); 155 llvm::Value* offset_elements, in ComputeOffsetPointer() argument 158 base_pointer, b_->CreateMul(b_->getInt64(scale), offset_elements)); in ComputeOffsetPointer() 161 int64_t offset_elements) { in ComputeOffsetPointer() argument 162 return ComputeOffsetPointer(base_pointer, b()->getInt64(offset_elements)); in ComputeOffsetPointer() 168 llvm::Value* offset_elements) { in LoadVector() argument 169 return LoadVector(ComputeOffsetPointer(base_pointer, offset_elements)); in LoadVector() 172 llvm::Value* LoadVector(llvm::Value* base_pointer, int64_t offset_elements) { in LoadVector() argument 173 return LoadVector(base_pointer, b()->getInt64(offset_elements)); in LoadVector() 179 llvm::Value* offset_elements) { in LoadScalar() argument [all …]
|
D | vector_support_library.cc | 209 llvm::Value* base_pointer, llvm::Value* offset_elements) { in ComputeOffsetPointer() argument 214 return b()->CreateInBoundsGEP(scalar_type(), base_pointer, offset_elements, in ComputeOffsetPointer()
|