Home
last modified time | relevance | path

Searched refs:resource_map (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/tests/
Dvirgl_staging_mgr_test.cpp97 vs->vws->resource_map = fake_resource_map; in fake_virgl_context_create()
114 resource_map(struct virgl_hw_res *hw_res) in resource_map() function
178 (uint8_t*)resource_map(out_resource[i]) + expected_offset); in TEST_P()
207 EXPECT_EQ(map_ptr, resource_map(out_resource[0])); in TEST_F()
216 EXPECT_EQ(map_ptr, resource_map(out_resource[1])); in TEST_F()
239 EXPECT_EQ(map_ptr, resource_map(out_resource[0])); in TEST_F()
248 EXPECT_EQ(map_ptr, resource_map(out_resource[1])); in TEST_F()
273 EXPECT_EQ(map_ptr, resource_map(out_resource[0])); in TEST_F()
283 EXPECT_EQ(map_ptr, resource_map(out_resource[1])); in TEST_F()
361 vs->vws->resource_map = failing_resource_map; in TEST_F()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dpromote_resources_to_args.cc84 ResourceMap resource_map; in PromoteResourcesToArguments() local
92 if (resource_map.count(var_handle_op.shared_name())) { in PromoteResourcesToArguments()
104 resource_map[var_handle_op.shared_name()] = {input_num++, arg}; in PromoteResourcesToArguments()
107 if (resource_map.empty()) { in PromoteResourcesToArguments()
124 resource_map[var_handle_op.shared_name()].live_value); in PromoteResourcesToArguments()
132 resource_map[var_handle_op.shared_name()].live_value = write_op.value(); in PromoteResourcesToArguments()
152 ResourceInfo& resource_info = resource_map[var_handle_op.shared_name()]; in PromoteResourcesToArguments()
/external/tensorflow/tensorflow/python/saved_model/
Dsave.py257 resource_map = {}
270 resource_map[obj.resource_handle] = new_resource
282 resource_map[v.handle] = new_variable.handle
285 resource_map[obj.handle] = new_variable.handle
288 _process_asset(obj, asset_info, resource_map)
326 resource_map[capture] = copied_tensor
332 return object_map, resource_map, asset_info
342 def _map_captures_to_created_tensors(original_captures, resource_map): argument
362 mapped_resource = resource_map.get(exterior, None)
443 def _call_function_with_mapped_captures(function, args, resource_map): argument
[all …]
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_query.c158 host_state = vs->vws->resource_map(vs->vws, query->buf->hw_res); in virgl_end_query()
195 host_state = vs->vws->resource_map(vs->vws, query->buf->hw_res); in virgl_get_query_result()
Dvirgl_staging_mgr.c63 staging->map = vws->resource_map(vws, staging->hw_res); in virgl_staging_alloc_buffer()
Dvirgl_winsys.h78 void *(*resource_map)(struct virgl_winsys *vws, struct virgl_hw_res *res); member
Dvirgl_texture.c184 ptr = vws->resource_map(vws, vtex->hw_res); in texture_transfer_map_resolve()
Dvirgl_resource.c405 trans->hw_res_map = vws->resource_map(vws, vres->hw_res); in virgl_resource_transfer_map()
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert.py1114 resource_map = {}
1120 if canonical_engine_name in resource_map:
1139 resource_map[canonical_engine_name] = _TRTEngineResource(
1145 self._saved_model.trt_engine_resources = resource_map
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c678 vtws->base.resource_map = virgl_vtest_resource_map; in virgl_vtest_winsys_wrap()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c1094 qdws->base.resource_map = virgl_drm_resource_map; in virgl_drm_winsys_create()