Home
last modified time | relevance | path

Searched refs:MemoryLayout (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/swift/TestApps/TensorFlowLiteApp/TensorFlowLiteApp/
DArray+TensorFlowLite.swift13 guard unsafeData.count % MemoryLayout<Element>.stride == 0 else { return nil }
17 count: unsafeData.count / MemoryLayout<Element>.stride
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.h71 , fDefaultLayout(MemoryLayout::k140_Standard) in SPIRVCodeGenerator()
111 SpvId getType(const Type& type, const MemoryLayout& layout);
119 SpvId getPointerType(const Type& type, const MemoryLayout& layout,
130 void writeStruct(const Type& type, const MemoryLayout& layout, SpvId resultId);
312 const MemoryLayout fDefaultLayout;
DSkSLMemoryLayout.h15 class MemoryLayout {
23 MemoryLayout(Standard std) in MemoryLayout() function
DSkSLMetalCodeGenerator.cpp873 MemoryLayout memoryLayout(MemoryLayout::k140_Standard); in writeFields()
875 MemoryLayout memoryLayout(MemoryLayout::kMetal_Standard); in writeFields()
DSkSLSPIRVCodeGenerator.cpp377 void SPIRVCodeGenerator::writeStruct(const Type& type, const MemoryLayout& memoryLayout, in writeStruct()
465 SpvId SPIRVCodeGenerator::getType(const Type& rawType, const MemoryLayout& layout) { in getType()
621 SpvId SPIRVCodeGenerator::getPointerType(const Type& rawType, const MemoryLayout& layout, in getPointerType()
2626 MemoryLayout memoryLayout = (pushConstant || isBuffer) ? in writeInterfaceBlock()
2627 MemoryLayout(MemoryLayout::k430_Standard) : in writeInterfaceBlock()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.h107 , fDefaultLayout(MemoryLayout::k140_Standard)
153 SpvId getType(const Type& type, const MemoryLayout& layout);
161 SpvId getPointerType(const Type& type, const MemoryLayout& layout,
174 void writeStruct(const Type& type, const MemoryLayout& layout, SpvId resultId);
364 const MemoryLayout fDefaultLayout;
DSkSLMemoryLayout.h15 class MemoryLayout {
23 MemoryLayout(Standard std) in MemoryLayout() function
DSkSLMetalCodeGenerator.cpp1017 MemoryLayout memoryLayout(MemoryLayout::k140_Standard); in writeFields()
1019 MemoryLayout memoryLayout(MemoryLayout::kMetal_Standard); in writeFields()
DSkSLSPIRVCodeGenerator.cpp376 void SPIRVCodeGenerator::writeStruct(const Type& type, const MemoryLayout& memoryLayout, in writeStruct()
469 SpvId SPIRVCodeGenerator::getType(const Type& rawType, const MemoryLayout& layout) { in getType()
627 SpvId SPIRVCodeGenerator::getPointerType(const Type& rawType, const MemoryLayout& layout, in getPointerType()
2614 MemoryLayout memoryLayout = (pushConstant || isBuffer) ? in writeInterfaceBlock()
2615 MemoryLayout(MemoryLayout::k430_Standard) : in writeInterfaceBlock()
/external/skia/tests/
DSkSLMemoryLayoutTest.cpp15 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard); in DEF_TEST()
96 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k430_Standard); in DEF_TEST()
/external/skqp/tests/
DSkSLMemoryLayoutTest.cpp15 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k140_Standard); in DEF_TEST()
96 SkSL::MemoryLayout layout(SkSL::MemoryLayout::k430_Standard); in DEF_TEST()
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/
DInterpreterTests.swift294 guard unsafeData.count % MemoryLayout<Element>.stride == 0 else { return nil }
298 count: unsafeData.count / MemoryLayout<Element>.stride