/external/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 41 struct radv_descriptor_set_layout *set_layout; in radv_CreateDescriptorSetLayout() local 54 (max_binding + 1) * sizeof(set_layout->binding[0]); in radv_CreateDescriptorSetLayout() 57 set_layout = vk_alloc2(&device->alloc, pAllocator, size, 8, in radv_CreateDescriptorSetLayout() 59 if (!set_layout) in radv_CreateDescriptorSetLayout() 62 set_layout->flags = pCreateInfo->flags; in radv_CreateDescriptorSetLayout() 65 uint32_t *samplers = (uint32_t*)&set_layout->binding[max_binding + 1]; in radv_CreateDescriptorSetLayout() 67 set_layout->binding_count = max_binding + 1; in radv_CreateDescriptorSetLayout() 68 set_layout->shader_stages = 0; in radv_CreateDescriptorSetLayout() 69 set_layout->dynamic_shader_stages = 0; in radv_CreateDescriptorSetLayout() 70 set_layout->has_immutable_samplers = false; in radv_CreateDescriptorSetLayout() [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 56 struct anv_descriptor_set_layout *set_layout; in anv_CreateDescriptorSetLayout() local 61 anv_multialloc_add(&ma, &set_layout, 1); in anv_CreateDescriptorSetLayout() 69 memset(set_layout, 0, sizeof(*set_layout)); in anv_CreateDescriptorSetLayout() 70 set_layout->binding_count = max_binding + 1; in anv_CreateDescriptorSetLayout() 74 memset(&set_layout->binding[b], -1, sizeof(set_layout->binding[b])); in anv_CreateDescriptorSetLayout() 76 set_layout->binding[b].array_size = 0; in anv_CreateDescriptorSetLayout() 77 set_layout->binding[b].immutable_samplers = NULL; in anv_CreateDescriptorSetLayout() 96 set_layout->binding[b].immutable_samplers = (void *)binding; in anv_CreateDescriptorSetLayout() 101 (void *)set_layout->binding[b].immutable_samplers; in anv_CreateDescriptorSetLayout() 110 set_layout->binding[b].type = binding->descriptorType; in anv_CreateDescriptorSetLayout() [all …]
|
D | anv_nir_apply_pipeline_layout.c | 362 struct anv_descriptor_set_layout *set_layout = layout->set[set].layout; in anv_nir_apply_pipeline_layout() local 366 set_layout->binding_count) { in anv_nir_apply_pipeline_layout() 367 if (set_layout->binding[b].stage[stage].surface_index >= 0) { in anv_nir_apply_pipeline_layout() 369 anv_descriptor_set_binding_layout_get_hw_size(&set_layout->binding[b]); in anv_nir_apply_pipeline_layout() 371 if (set_layout->binding[b].stage[stage].sampler_index >= 0) { in anv_nir_apply_pipeline_layout() 373 anv_descriptor_set_binding_layout_get_hw_size(&set_layout->binding[b]); in anv_nir_apply_pipeline_layout() 375 if (set_layout->binding[b].stage[stage].image_index >= 0) in anv_nir_apply_pipeline_layout() 376 map->image_count += set_layout->binding[b].array_size; in anv_nir_apply_pipeline_layout() 384 struct anv_descriptor_set_layout *set_layout = layout->set[set].layout; in anv_nir_apply_pipeline_layout() local 388 set_layout->binding_count) { in anv_nir_apply_pipeline_layout() [all …]
|
D | anv_cmd_buffer.c | 513 struct anv_descriptor_set_layout *set_layout = in anv_cmd_buffer_bind_descriptor_set() local 526 if (set_layout->dynamic_offset_count > 0) { in anv_cmd_buffer_bind_descriptor_set() 531 assert(set_layout->dynamic_offset_count <= *dynamic_offset_count); in anv_cmd_buffer_bind_descriptor_set() 532 assert(dynamic_offset_start + set_layout->dynamic_offset_count <= in anv_cmd_buffer_bind_descriptor_set() 536 *dynamic_offsets, set_layout->dynamic_offset_count); in anv_cmd_buffer_bind_descriptor_set() 538 *dynamic_offsets += set_layout->dynamic_offset_count; in anv_cmd_buffer_bind_descriptor_set() 539 *dynamic_offset_count -= set_layout->dynamic_offset_count; in anv_cmd_buffer_bind_descriptor_set() 548 set_layout->shader_stages & VK_SHADER_STAGE_ALL_GRAPHICS; in anv_cmd_buffer_bind_descriptor_set() 916 const struct anv_descriptor_set_layout *set_layout = in anv_CmdPushDescriptorSetKHR() local 927 set->layout = set_layout; in anv_CmdPushDescriptorSetKHR() [all …]
|
D | anv_nir_lower_ycbcr_textures.c | 324 const struct anv_descriptor_set_layout *set_layout = in try_lower_tex_ycbcr() local 327 &set_layout->binding[var->data.binding]; in try_lower_tex_ycbcr()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cudnn_pooling_gpu.cc | 76 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute() 80 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute() 195 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute() 200 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute()
|
D | pooling_ops_common.cc | 243 .set_layout(data_layout); in Compute() 250 .set_layout(data_layout); in Compute() 391 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute() 398 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute()
|
D | fused_batch_norm_op.cc | 308 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()() 315 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()() 462 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()() 469 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()()
|
D | conv_ops_fused_impl.h | 683 .set_layout(se::dnn::DataLayout::kBatchDepthYX); 694 .set_layout(se::dnn::DataLayout::kBatchDepthYX); 708 .set_layout(se::dnn::DataLayout::kBatchDepthYX);
|
D | lrn_op.cc | 199 .set_layout(se::dnn::DataLayout::kBatchYXDepth); in launch() 416 .set_layout(se::dnn::DataLayout::kBatchYXDepth); in launch()
|
D | conv_ops_3d.cc | 357 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in launch() 364 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in launch()
|
D | conv_grad_ops_3d.cc | 1260 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute() 1267 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute() 1659 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute() 1666 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in Compute()
|
D | conv_ops.cc | 768 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()() 774 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()()
|
D | conv_grad_filter_ops.cc | 721 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()() 727 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()()
|
D | conv_grad_input_ops.cc | 837 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()() 843 .set_layout(se::dnn::DataLayout::kBatchDepthYX); in operator ()()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | cudnn_conv_runner.cc | 182 input_descriptor.set_layout(input_dl) in RunCudnnConvImpl() 194 filter_descriptor.set_layout(filter_dl) in RunCudnnConvImpl() 219 output_descriptor.set_layout(output_dl) in RunCudnnConvImpl() 279 .set_layout(output_dl); in RunCudnnConvImpl()
|
D | cudnn_batchnorm_thunk.cc | 62 input_desc.set_layout(dnn::DataLayout::kBatchDepthYX) in MakeDescriptors() 69 scale_offset_desc.set_layout(dnn::DataLayout::kBatchDepthYX) in MakeDescriptors()
|
/external/tensorflow/tensorflow/contrib/fused_conv/kernels/ |
D | fused_conv2d_bias_activation_op.cc | 586 .set_layout(data_layout); in launch() 592 .set_layout(filter_layout); in launch() 598 .set_layout(data_layout); in launch() 604 .set_layout(dnn::DataLayout::kBatchDepthYX); in launch() 610 .set_layout(data_layout); in launch()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | dnn.cc | 243 set_layout(DataLayout::kYXDepthBatch); in BatchDescriptor() 385 set_layout(FilterLayout::kOutputInputYX); in FilterDescriptor()
|
D | dnn.h | 307 BatchDescriptor& set_layout(DataLayout layout) { 415 FilterDescriptor& set_layout(FilterLayout layout) {
|
/external/pdfium/fxjs/ |
D | cjs_document.h | 76 CJS_Return set_layout(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
|
D | cjs_document.cpp | 973 CJS_Return Document::set_layout(CJS_Runtime* pRuntime, in set_layout() function in Document
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_dnn.cc | 2786 transformed_output_descriptor.set_layout(dnn::DataLayout::kBatchDepthYX); in MaybeTransformLayout() 2805 output_descriptor->set_layout(dnn::DataLayout::kBatchDepthYX); in MaybeTransformLayout() 3432 .set_layout(dnn::DataLayout::kBatchYXDepth); in DoBiasAdd() 4009 .set_layout(batch_descriptor.layout()); in DeriveOutputBatchDescriptor()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_dnn.cc | 3672 .set_layout(dnn::DataLayout::kBatchYXDepth); in DoBiasAdd() 4105 .set_layout(batch_descriptor.layout()); in DeriveOutputBatchDescriptor()
|