Home
last modified time | relevance | path

Searched refs:num_resources (Results 1 – 14 of 14) sorted by relevance

/external/libdrm/tests/amdgpu/
Dcs_tests.c52 static unsigned num_resources; variable
166 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
252 num_resources = 0; in amdgpu_cs_uvd_create()
253 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_create()
254 resources[num_resources++] = ib_handle; in amdgpu_cs_uvd_create()
352 num_resources = 0; in amdgpu_cs_uvd_decode()
353 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_decode()
354 resources[num_resources++] = ib_handle; in amdgpu_cs_uvd_decode()
452 num_resources = 0; in amdgpu_cs_uvd_destroy()
453 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_destroy()
[all …]
Dvce_tests.c82 static unsigned num_resources; variable
210 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
295 num_resources = 0; in amdgpu_cs_vce_create()
297 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_create()
298 resources[num_resources++] = ib_handle; in amdgpu_cs_vce_create()
495 num_resources = 0; in amdgpu_cs_vce_encode()
497 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_encode()
499 resources[num_resources++] = enc.fb[1].handle; in amdgpu_cs_vce_encode()
501 resources[num_resources++] = enc.bs[0].handle; in amdgpu_cs_vce_encode()
503 resources[num_resources++] = enc.bs[1].handle; in amdgpu_cs_vce_encode()
[all …]
Dvcn_tests.c72 static unsigned num_resources; variable
229 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
322 num_resources = 0; in amdgpu_cs_vcn_dec_create()
324 resources[num_resources++] = msg_buf.handle; in amdgpu_cs_vcn_dec_create()
325 resources[num_resources++] = ib_handle; in amdgpu_cs_vcn_dec_create()
366 num_resources = 0; in amdgpu_cs_vcn_dec_decode()
368 resources[num_resources++] = dec_buf.handle; in amdgpu_cs_vcn_dec_decode()
369 resources[num_resources++] = ib_handle; in amdgpu_cs_vcn_dec_decode()
432 num_resources = 0; in amdgpu_cs_vcn_dec_destroy()
434 resources[num_resources++] = msg_buf.handle; in amdgpu_cs_vcn_dec_destroy()
[all …]
Duvd_enc_tests.c71 static unsigned num_resources; variable
166 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
249 num_resources = 0; in amdgpu_cs_uvd_enc_create()
251 resources[num_resources++] = enc.session.handle; in amdgpu_cs_uvd_enc_create()
252 resources[num_resources++] = ib_handle; in amdgpu_cs_uvd_enc_create()
338 num_resources = 0; in amdgpu_cs_uvd_enc_encode()
340 resources[num_resources++] = enc.fb.handle; in amdgpu_cs_uvd_enc_encode()
342 resources[num_resources++] = enc.bs.handle; in amdgpu_cs_uvd_enc_encode()
344 resources[num_resources++] = enc.vbuf.handle; in amdgpu_cs_uvd_enc_encode()
346 resources[num_resources++] = enc.cpb.handle; in amdgpu_cs_uvd_enc_encode()
[all …]
/external/mesa3d/src/gallium/drivers/virgl/tests/
Dvirgl_staging_mgr_test.cpp159 const unsigned num_resources = sizeof(alloc_sizes) / sizeof(alloc_sizes[0]); in TEST_P() local
160 struct virgl_hw_res *out_resource[num_resources] = {0}; in TEST_P()
166 for (unsigned i = 0; i < num_resources; ++i) { in TEST_P()
184 release_resources(out_resource, num_resources); in TEST_P()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_buffer.c417 assert(ss->hud.num_resources > 0); in svga_buffer_destroy()
418 if (ss->hud.num_resources > 0) in svga_buffer_destroy()
419 ss->hud.num_resources--; in svga_buffer_destroy()
520 ss->hud.num_resources++; in svga_buffer_create()
564 ss->hud.num_resources++; in svga_user_buffer_create()
Dsvga_screen.h91 uint64_t num_resources; member
Dsvga_resource_texture.c246 assert(ss->hud.num_resources > 0); in svga_texture_destroy()
247 if (ss->hud.num_resources > 0) in svga_texture_destroy()
248 ss->hud.num_resources--; in svga_texture_destroy()
1157 svgascreen->hud.num_resources++; in svga_texture_create()
1236 ss->hud.num_resources++; in svga_texture_from_handle()
Dsvga_pipe_query.c1194 vresult->u64 = svgascreen->hud.num_resources; in svga_get_query_result()
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_screen.h54 int num_resources; member
Drbug_core.c187 texs = MALLOC(rb_screen->num_resources * sizeof(rbug_texture_t)); in rbug_texture_list()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc321 int num_resources; in ResourcesVector() local
323 ctx->GetAttr("Nresources", &num_resources)); in ResourcesVector()
325 std::vector<int> resources(num_resources); in ResourcesVector()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass.cc1263 const int num_resources = in Run() local
1265 const int num_nonconsts = num_args - num_resources - num_consts; in Run()
1300 AddNodeAttr(kXlaNumResourceArgsAttr, num_resources, node); in Run()
/external/tensorflow/tensorflow/python/eager/
Dbenchmarks_test.py1359 def _benchmarkFunctionWithResourceInputs(self, num_resources, num_iters): argument
1366 for _ in range(num_resources):