Home
last modified time | relevance | path

Searched refs:ElementByteSize (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/parallel-libs/acxxel/tests/
Dacxxel_test.cpp42 ptrdiff_t ElementByteSize) { in testFullDeviceMemorySpan() argument
44 EXPECT_GT(ElementByteSize, 0); in testFullDeviceMemorySpan()
49 EXPECT_EQ(Length * ElementByteSize, Span.byte_size()); in testFullDeviceMemorySpan()
58 EXPECT_EQ(2 * ElementByteSize, First2.byte_size()); in testFullDeviceMemorySpan()
75 EXPECT_EQ(2 * ElementByteSize, Last2.byte_size()); in testFullDeviceMemorySpan()
77 EXPECT_EQ((Length - 2) * ElementByteSize, Last2.byte_offset()); in testFullDeviceMemorySpan()
85 EXPECT_EQ(Length * ElementByteSize, Last0.byte_offset()); in testFullDeviceMemorySpan()
92 EXPECT_EQ(2 * ElementByteSize, Middle2.byte_size()); in testFullDeviceMemorySpan()
94 EXPECT_EQ(4 * ElementByteSize, Middle2.byte_offset()); in testFullDeviceMemorySpan()
102 EXPECT_EQ(4 * ElementByteSize, Middle0.byte_offset()); in testFullDeviceMemorySpan()
[all …]
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc72 size_t ElementByteSize(TfLiteType data_type) { in ElementByteSize() function
111 size_t to_copy = num_elements * ElementByteSize(type); in WriteOneDimensionalArray()
167 const size_t size = len * ElementByteSize(data_type); in ReadOneDimensionalArray()
345 size_t src_size = ElementByteSize(type); in WriteScalar()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1965 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential() local
1972 ElementByteSize); in emitGlobalConstantDataSequential()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2440 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential() local
2447 ElementByteSize); in emitGlobalConstantDataSequential()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2578 unsigned ElementByteSize = CDS->getElementByteSize(); in emitGlobalConstantDataSequential() local
2585 ElementByteSize); in emitGlobalConstantDataSequential()