Home
last modified time | relevance | path

Searched refs:buffer_type (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcollection_ops_util.cc63 auto buffer_type = buffer.getType().cast<RankedTensorType>(); in GetIndicesForElement() local
64 if (buffer_type.getShape().size() == 1) return index; in GetIndicesForElement()
66 llvm::SmallVector<int64_t, 8> zeros(buffer_type.getShape().size() - 1, 0); in GetIndicesForElement()
71 {static_cast<int64_t>(buffer_type.getShape().size())}, in GetIndicesForElement()
78 auto buffer_type = buffer.getType().cast<RankedTensorType>(); in GetElement() local
82 llvm::to_vector<8>(buffer_type.getShape()); in GetElement()
86 RankedTensorType::get(slice_size, buffer_type.getElementType()); in GetElement()
92 auto element_type = RankedTensorType::get(buffer_type.getShape().drop_front(), in GetElement()
93 buffer_type.getElementType()); in GetElement()
103 auto buffer_type = buffer.getType().cast<RankedTensorType>(); in SetElement() local
[all …]
Dtensor_array_ops_decomposition.cc86 auto buffer_type = split.value().getType().dyn_cast<RankedTensorType>(); in GetSplitElementTypeAndCount() local
87 if (!buffer_type || !buffer_type.hasStaticShape() || in GetSplitElementTypeAndCount()
88 buffer_type.getRank() < 1) { in GetSplitElementTypeAndCount()
91 int64_t length = buffer_type.getDimSize(0) / *count; in GetSplitElementTypeAndCount()
98 for (int64_t dim : buffer_type.getShape().drop_front()) { in GetSplitElementTypeAndCount()
101 *elem_type = RankedTensorType::get(elem_shape, buffer_type.getElementType()); in GetSplitElementTypeAndCount()
294 auto buffer_type = buffer.getType().cast<RankedTensorType>(); in HandleTensorArrayConcatV3Op() local
295 if (buffer_type.getShape().size() <= 1) { in HandleTensorArrayConcatV3Op()
299 auto shape = llvm::to_vector<8>(buffer_type.getShape().drop_front()); in HandleTensorArrayConcatV3Op()
300 shape[0] *= buffer_type.getDimSize(0); in HandleTensorArrayConcatV3Op()
[all …]
Dtensor_list_ops_decomposition.cc96 auto buffer_type = arg_to_buffer_type(i); in ModifyFunctionSignature() local
97 if (!buffer_type.hasValue()) continue; in ModifyFunctionSignature()
98 func.getArgument(i).setType(*buffer_type); in ModifyFunctionSignature()
99 new_input_types[i] = *buffer_type; in ModifyFunctionSignature()
293 auto buffer_type = it->getFirst().getType(); in HandleWhileRegionOp() local
294 region.getArgument(i).setType(buffer_type); in HandleWhileRegionOp()
/external/OpenCL-CTS/test_conformance/mem_host_flags/
Dmem_host_buffer.cpp33 enum BUFFER_TYPE buffer_type) in test_mem_host_read_only_buffer_RW() argument
40 switch (buffer_type) { in test_mem_host_read_only_buffer_RW()
62 enum BUFFER_TYPE buffer_type) in test_mem_host_read_only_buffer_RW_Rect() argument
70 switch (buffer_type) { in test_mem_host_read_only_buffer_RW_Rect()
92 enum BUFFER_TYPE buffer_type) in test_mem_host_read_only_buffer_RW_Mapping() argument
100 switch (buffer_type) { in test_mem_host_read_only_buffer_RW_Mapping()
187 enum BUFFER_TYPE buffer_type) in test_mem_host_write_only_buffer_RW() argument
196 switch (buffer_type) { in test_mem_host_write_only_buffer_RW()
218 enum BUFFER_TYPE buffer_type) in test_mem_host_write_only_buffer_RW_Rect() argument
226 switch (buffer_type) { in test_mem_host_write_only_buffer_RW_Rect()
[all …]
/external/deqp/external/vulkancts/data/vulkan/amber/compute/workgroup_memory_explicit_layout/
Dcopy_memory_basic.amber28 OpDecorate %buffer_type Block
31 OpMemberDecorate %buffer_type 0 Offset 0
58 %buffer_type = OpTypeStruct %array
63 %output_buffer_ptr = OpTypePointer StorageBuffer %buffer_type
64 %wg_ptr = OpTypePointer Workgroup %buffer_type
Dcopy_memory_two_invocations.amber29 OpDecorate %buffer_type Block
32 OpMemberDecorate %buffer_type 0 Offset 0
68 %buffer_type = OpTypeStruct %array
73 %output_buffer_ptr = OpTypePointer StorageBuffer %buffer_type
74 %wg_ptr = OpTypePointer Workgroup %buffer_type
Dcopy_memory_variable_pointers.amber30 OpDecorate %buffer_type Block
33 OpMemberDecorate %buffer_type 0 Offset 0
69 %buffer_type = OpTypeStruct %array
74 %output_buffer_ptr = OpTypePointer StorageBuffer %buffer_type
75 %wg_ptr = OpTypePointer Workgroup %buffer_type
/external/oss-fuzz/projects/mysql-server/targets/
Dfuzz_stmt_fetch.cc71 bind[0].buffer_type= MYSQL_TYPE_LONG; in LLVMFuzzerTestOneInput()
78 bind[1].buffer_type= MYSQL_TYPE_STRING; in LLVMFuzzerTestOneInput()
86 bind[2].buffer_type= MYSQL_TYPE_SHORT; in LLVMFuzzerTestOneInput()
93 bind[3].buffer_type= MYSQL_TYPE_TIMESTAMP; in LLVMFuzzerTestOneInput()
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
Dexpect.py31 spawn._buffer = spawn.buffer_type()
34 spawn._before = spawn.buffer_type()
41 spawn._buffer = spawn.buffer_type()
48 spawn._buffer = spawn.buffer_type()
49 spawn._before = spawn.buffer_type()
100 spawn._buffer = spawn.buffer_type()
101 spawn._before = spawn.buffer_type()
D_async.py11 expecter.spawn._buffer = expecter.spawn.buffer_type()
12 expecter.spawn._before = expecter.spawn.buffer_type()
Dspawnbase.py89 self.buffer_type = BytesIO
110 self.buffer_type = StringIO
122 self._buffer = self.buffer_type()
150 self._buffer = self.buffer_type()
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/msm_vidc/msm_smem_buffer_ion_op_end/
Dformat10 field:u32 buffer_type; offset:16; size:4; signed:0;
17 …t fmt: "%s, buffer_type : 0x%x, heap_mask : 0x%x, size : 0x%x, align : 0x%x, flags : 0x%x, map_ker…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/msm_vidc/msm_smem_buffer_ion_op_start/
Dformat10 field:u32 buffer_type; offset:16; size:4; signed:0;
17 …t fmt: "%s, buffer_type : 0x%x, heap_mask : 0x%x, size : 0x%x, align : 0x%x, flags : 0x%x, map_ker…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/msm_vidc/msm_smem_buffer_ion_op_start/
Dformat10 field:u32 buffer_type; offset:12; size:4; signed:0;
17 …t fmt: "%s, buffer_type : 0x%x, heap_mask : 0x%x, size : 0x%x, align : 0x%x, flags : 0x%x, map_ker…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/msm_vidc/msm_smem_buffer_ion_op_end/
Dformat10 field:u32 buffer_type; offset:12; size:4; signed:0;
17 …t fmt: "%s, buffer_type : 0x%x, heap_mask : 0x%x, size : 0x%x, align : 0x%x, flags : 0x%x, map_ker…
/external/harfbuzz_ng/test/api/
Dtest-buffer.c184 buffer_type_t buffer_type = GPOINTER_TO_INT (user_data); in test_buffer_contents() local
187 if (buffer_type == BUFFER_EMPTY) { in test_buffer_contents()
208 if (buffer_type == BUFFER_UTF16) in test_buffer_contents()
210 else if (buffer_type == BUFFER_UTF8) in test_buffer_contents()
868 const void *buffer_type = GINT_TO_POINTER (i); in main() local
871 hb_test_add_fixture_flavor (fixture, buffer_type, buffer_name, test_buffer_properties); in main()
872 hb_test_add_fixture_flavor (fixture, buffer_type, buffer_name, test_buffer_contents); in main()
873 hb_test_add_fixture_flavor (fixture, buffer_type, buffer_name, test_buffer_positions); in main()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/default/
Ddw_convolution_selector.cc54 bool buffer_type = storage_type == TensorStorageType::BUFFER || in SelectDWConvolutionMali() local
58 !buffer_type && op_def.precision != CalculationsPrecision::F32) { in SelectDWConvolutionMali()
/external/python/cpython2/Objects/
Dbufferobject.c27 enum buffer_t buffer_type) in get_buf() argument
43 if ((buffer_type == READ_BUFFER) || in get_buf()
44 ((buffer_type == ANY_BUFFER) && self->b_readonly)) in get_buf()
46 else if ((buffer_type == WRITE_BUFFER) || in get_buf()
47 (buffer_type == ANY_BUFFER)) in get_buf()
49 else if (buffer_type == CHAR_BUFFER) { in get_buf()
60 switch (buffer_type) { in get_buf()
/external/parameter-framework/asio-1.10.6/include/asio/
Dbuffer.hpp741 typedef mutable_buffer buffer_type; typedef
748 typedef const_buffer buffer_type; typedef
764 typedef typename asio::detail::buffer_types<PodType>::buffer_type in buffer()
765 buffer_type; in buffer() typedef
769 buffer_type(data.c_array(), data.size() * sizeof(PodType))); in buffer()
776 typedef typename asio::detail::buffer_types<PodType>::buffer_type in buffer()
777 buffer_type; in buffer() typedef
781 buffer_type(data.c_array(), in buffer()
/external/mesa3d/src/loader/
Dloader_dri3_helper.h83 loader_dri3_pixmap_buf_id(enum loader_dri3_buffer_type buffer_type) in loader_dri3_pixmap_buf_id() argument
85 if (buffer_type == loader_dri3_buffer_back) in loader_dri3_pixmap_buf_id()
Dloader_dri3_helper.c1759 enum loader_dri3_buffer_type buffer_type, in dri3_get_pixmap_buffer() argument
1762 int buf_id = loader_dri3_pixmap_buf_id(buffer_type); in dri3_get_pixmap_buffer()
1872 enum loader_dri3_buffer_type buffer_type, in dri3_get_buffer() argument
1876 bool fence_await = buffer_type == loader_dri3_buffer_back; in dri3_get_buffer()
1879 if (buffer_type == loader_dri3_buffer_back) { in dri3_get_buffer()
1913 if ((buffer_type == loader_dri3_buffer_back || in dri3_get_buffer()
1914 (buffer_type == loader_dri3_buffer_front && draw->have_fake_front)) in dri3_get_buffer()
1937 } else if (buffer_type == loader_dri3_buffer_front) { in dri3_get_buffer()
1975 if (buffer_type == loader_dri3_buffer_back && in dri3_get_buffer()
2002 enum loader_dri3_buffer_type buffer_type, in dri3_free_buffers() argument
[all …]
/external/deqp-deps/amber/src/amberscript/
Dparser.cc1024 BufferType buffer_type = BufferType::kUnknown; in ParsePipelineBind() local
1031 Result r = ToBufferType(token->AsString(), &buffer_type); in ParsePipelineBind()
1035 if (buffer_type == BufferType::kColor) { in ParsePipelineBind()
1067 } else if (buffer_type == BufferType::kDepthStencil) { in ParsePipelineBind()
1072 } else if (buffer_type == BufferType::kPushConstant) { in ParsePipelineBind()
1077 } else if (buffer_type == BufferType::kCombinedImageSampler) { in ParsePipelineBind()
1097 if (buffer_type == BufferType::kUnknown || in ParsePipelineBind()
1098 buffer_type == BufferType::kStorage || in ParsePipelineBind()
1099 buffer_type == BufferType::kUniform || in ParsePipelineBind()
1100 buffer_type == BufferType::kStorageDynamic || in ParsePipelineBind()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl3cClipDistance.hpp408 const std::type_info& buffer_type = typeid(T); in useAsShaderInput() local
418 if (buffer_type == float_type) in useAsShaderInput()
423 else if (buffer_type == int_type) in useAsShaderInput()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dstream_executor_util.h87 void InitializeBuffer(se::Stream* stream, PrimitiveType buffer_type,
Dstream_executor_util.cc304 void InitializeBuffer(se::Stream* stream, PrimitiveType buffer_type, in InitializeBuffer() argument
306 switch (buffer_type) { in InitializeBuffer()

12