Home
last modified time | relevance | path

Searched refs:buffer_handle (Results 1 – 25 of 39) sorted by relevance

12

/external/libdrm/tests/amdgpu/
Dbo_tests.c39 static amdgpu_bo_handle buffer_handle; variable
97 buffer_handle = buf_handle; in suite_bo_tests_init()
114 r = amdgpu_bo_va_op(buffer_handle, 0, BUFFER_SIZE, in suite_bo_tests_clean()
124 r = amdgpu_bo_free(buffer_handle); in suite_bo_tests_clean()
141 r = amdgpu_bo_export(buffer_handle, type, &shared_handle); in amdgpu_bo_export_import_do_type()
147 CU_ASSERT_EQUAL(res.buf_handle, buffer_handle); in amdgpu_bo_export_import_do_type()
174 r = amdgpu_bo_set_metadata(buffer_handle, &meta); in amdgpu_bo_metadata()
177 r = amdgpu_bo_query_info(buffer_handle, &info); in amdgpu_bo_metadata()
189 r = amdgpu_bo_cpu_map(buffer_handle, (void **)&ptr); in amdgpu_bo_map_unmap()
196 r = amdgpu_bo_cpu_unmap(buffer_handle); in amdgpu_bo_map_unmap()
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate.cc53 TfLiteBufferHandle buffer_handle, in Create()
56 ->CopyFromBufferHandle(context, buffer_handle, tensor); in Create()
99 TfLiteContext* context, TfLiteBufferHandle buffer_handle, in CopyFromBufferHandle() argument
103 if (!buffer_map->HasTensor(buffer_handle)) { in CopyFromBufferHandle()
104 context->ReportError(context, "Invalid tensor index %d.", buffer_handle); in CopyFromBufferHandle()
108 tensorflow::Tensor t = buffer_map->GetTensor(buffer_handle); in CopyFromBufferHandle()
114 buffer_handle); in CopyFromBufferHandle()
Ddelegate.h89 TfLiteBufferHandle buffer_handle,
/external/libchrome/mojo/public/c/system/
Dbuffer.h169 MojoHandle buffer_handle,
197 MojoMapBuffer(MojoHandle buffer_handle,
230 MojoGetBufferInfo(MojoHandle buffer_handle,
Dthunks.cc256 MojoHandle buffer_handle, in MojoDuplicateBufferHandle() argument
259 return INVOKE_THUNK(DuplicateBufferHandle, buffer_handle, options, in MojoDuplicateBufferHandle()
263 MojoResult MojoMapBuffer(MojoHandle buffer_handle, in MojoMapBuffer() argument
268 return INVOKE_THUNK(MapBuffer, buffer_handle, offset, num_bytes, options, in MojoMapBuffer()
276 MojoResult MojoGetBufferInfo(MojoHandle buffer_handle, in MojoGetBufferInfo() argument
279 return INVOKE_THUNK(GetBufferInfo, buffer_handle, options, info); in MojoGetBufferInfo()
Dthunks.h131 MojoHandle buffer_handle,
134 MojoResult (*MapBuffer)(MojoHandle buffer_handle,
140 MojoResult (*GetBufferInfo)(MojoHandle buffer_handle,
/external/tensorflow/tensorflow/lite/
Dinterpreter.cc416 TfLiteBufferHandle buffer_handle, in SetBufferHandle() argument
424 if (tensor->buffer_handle != kTfLiteNullBufferHandle) { in SetBufferHandle()
427 &tensor->buffer_handle); in SetBufferHandle()
429 tensor->buffer_handle = buffer_handle; in SetBufferHandle()
435 TfLiteBufferHandle* buffer_handle, in GetBufferHandle() argument
441 *buffer_handle = tensor->buffer_handle; in GetBufferHandle()
/external/tensorflow/tensorflow/lite/delegates/external/
Dexternal_delegate.cc103 TfLiteBufferHandle buffer_handle, in DelegateCopyFromBufferHandle() argument
109 buffer_handle, tensor); in DelegateCopyFromBufferHandle()
116 TfLiteBufferHandle buffer_handle, in DelegateCopyToBufferHandle() argument
121 return external_delegate->CopyToBufferHandle(context, delegate, buffer_handle, in DelegateCopyToBufferHandle()
/external/tensorflow/tensorflow/lite/delegates/gpu/
Dgl_delegate.cc66 TfLiteBufferHandle buffer_handle, // ValueId
70 TfLiteBufferHandle buffer_handle, // ValueId
185 tensor->buffer_handle = input->id; in Prepare()
225 tensor->buffer_handle = output->id; in Prepare()
424 TfLiteBufferHandle buffer_handle, in DelegateCopyFromBufferHandle() argument
428 const auto status = gpu_delegate->CopyFromBufferHandle(buffer_handle, tensor); in DelegateCopyFromBufferHandle()
437 TfLiteBufferHandle buffer_handle, in DelegateCopyToBufferHandle() argument
441 const auto status = gpu_delegate->CopyToBufferHandle(buffer_handle, tensor); in DelegateCopyToBufferHandle()
/external/libchrome/mojo/core/
Dentrypoints.cc192 MojoHandle buffer_handle, in MojoDuplicateBufferHandleImpl() argument
195 return g_core->DuplicateBufferHandle(buffer_handle, options, in MojoDuplicateBufferHandleImpl()
199 MojoResult MojoMapBufferImpl(MojoHandle buffer_handle, in MojoMapBufferImpl() argument
204 return g_core->MapBuffer(buffer_handle, offset, num_bytes, options, buffer); in MojoMapBufferImpl()
211 MojoResult MojoGetBufferInfoImpl(MojoHandle buffer_handle, in MojoGetBufferInfoImpl() argument
214 return g_core->GetBufferInfo(buffer_handle, options, info); in MojoGetBufferInfoImpl()
Dcore.h268 MojoHandle buffer_handle,
271 MojoResult MapBuffer(MojoHandle buffer_handle,
277 MojoResult GetBufferInfo(MojoHandle buffer_handle,
/external/tensorflow/tensorflow/lite/delegates/
Ddelegate_test_util.cc220 TfLiteBufferHandle buffer_handle, in SimpleDelegate()
227 TfLiteBufferHandle buffer_handle, in SimpleDelegate() argument
229 TFLITE_CHECK_GE(buffer_handle, -1); in SimpleDelegate()
230 TFLITE_CHECK_EQ(output->buffer_handle, buffer_handle); in SimpleDelegate()
278 if (out->buffer_handle != kTfLiteNullBufferHandle) { in FakeFusedRegistration()
455 TfLiteBufferHandle buffer_handle, in FP16Delegate()
Ddelegate_test.cc279 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
286 EXPECT_EQ(tensor->buffer_handle, handle); in TEST_F()
299 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
306 EXPECT_EQ(tensor->buffer_handle, handle); in TEST_F()
322 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
331 EXPECT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
663 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
690 ASSERT_EQ(tensor->buffer_handle, kTfLiteNullBufferHandle); in TEST_F()
698 EXPECT_EQ(tensor->buffer_handle, handle); in TEST_F()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c208 uint32_t buffer_handle, in vmw_ioctl_gb_surface_create() argument
270 req->base.buffer_handle = buffer_handle ? in vmw_ioctl_gb_surface_create()
271 buffer_handle : SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
309 req->buffer_handle = buffer_handle ? in vmw_ioctl_gb_surface_create()
310 buffer_handle : SVGA3D_INVALID_ID; in vmw_ioctl_gb_surface_create()
320 region->handle = rep->buffer_handle; in vmw_ioctl_gb_surface_create()
441 region->handle = rep->crep.buffer_handle; in vmw_ioctl_gb_surface_ref()
469 region->handle = rep->crep.buffer_handle; in vmw_ioctl_gb_surface_ref()
878 sh_arg.buffer_handle = SVGA3D_INVALID_ID; in vmw_ioctl_shader_create()
Dvmwgfx_drm.h854 __u32 buffer_handle; member
930 __u32 buffer_handle; member
952 __u32 buffer_handle; member
/external/libdrm/include/drm/
Dvmwgfx_drm.h861 __u32 buffer_handle; member
935 __u32 buffer_handle; member
957 __u32 buffer_handle; member
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.h277 TfLiteBufferHandle buffer_handle,
285 TfLiteBufferHandle buffer_handle,
/external/kernel-headers/original/uapi/drm/
Dvmwgfx_drm.h857 __u32 buffer_handle; member
933 __u32 buffer_handle; member
955 __u32 buffer_handle; member
/external/igt-gpu-tools/include/drm-uapi/
Dvmwgfx_drm.h852 __u32 buffer_handle; member
926 __u32 buffer_handle; member
948 __u32 buffer_handle; member
/external/libchrome/mojo/public/cpp/base/
Dbig_buffer.cc16 mojo::ScopedSharedBufferHandle buffer_handle, in BigBufferSharedMemoryRegion() argument
19 buffer_handle_(std::move(buffer_handle)), in BigBufferSharedMemoryRegion()
Dbig_buffer_mojom_traits.h27 static mojo::ScopedSharedBufferHandle buffer_handle( in COMPONENT_EXPORT()
/external/tensorflow/tensorflow/lite/c/
Dcommon.h419 TfLiteBufferHandle buffer_handle; member
885 TfLiteBufferHandle buffer_handle,
892 TfLiteBufferHandle buffer_handle,
/external/libchrome/mojo/public/mojom/base/
Dbig_buffer.mojom8 handle<shared_buffer> buffer_handle;
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dlibtpu.h158 int32_t bufferc, struct TpuBufferHandle** buffer_handle, int32_t eventc,
175 struct TpuDriver* driver, struct TpuBufferHandle* buffer_handle,
/external/tensorflow/tensorflow/lite/java/src/test/native/
Dinterpreter_test_jni.cc70 context->tensors[i].buffer_handle = static_cast<int>(i); in Java_org_tensorflow_lite_InterpreterTest_getNativeHandleForDelegate()

12