/external/libdrm/tests/amdgpu/ |
D | cs_tests.c | 52 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 …]
|
D | vce_tests.c | 82 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 …]
|
D | vcn_tests.c | 72 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 …]
|
D | uvd_enc_tests.c | 71 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/ |
D | virgl_staging_mgr_test.cpp | 159 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/ |
D | svga_resource_buffer.c | 417 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()
|
D | svga_screen.h | 91 uint64_t num_resources; member
|
D | svga_resource_texture.c | 246 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()
|
D | svga_pipe_query.c | 1194 vresult->u64 = svgascreen->hud.num_resources; in svga_get_query_result()
|
/external/mesa3d/src/gallium/auxiliary/driver_rbug/ |
D | rbug_screen.h | 54 int num_resources; member
|
D | rbug_core.c | 187 texs = MALLOC(rb_screen->num_resources * sizeof(rbug_texture_t)); in rbug_texture_list()
|
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
D | xla_ops.cc | 321 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/ |
D | encapsulate_subgraphs_pass.cc | 1263 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/ |
D | benchmarks_test.py | 1359 def _benchmarkFunctionWithResourceInputs(self, num_resources, num_iters): argument 1366 for _ in range(num_resources):
|