Home
last modified time | relevance | path

Searched refs:kernel_size (Results 1 – 25 of 30) sorted by relevance

12

/external/gemmlowp/meta/
Dsingle_thread_transform.h24 template <typename Params, int kernel_size>
31 template <typename P, int kernel_size, int leftovers>
34 typename P::Kernel, kernel_size, in ExecuteDispatch1D()
40 template <typename E, typename P, int kernel_size, int variable_leftovers>
45 std::cout << "Dispatch(1): " << kernel_size << ":" << variable_leftovers in Execute()
51 E::template ExecuteDispatch1D<P, kernel_size, variable_leftovers>(params); in Execute()
53 Dispatch1D<E, P, kernel_size, variable_leftovers - 1>::Execute(params, in Execute()
59 template <typename E, typename P, int kernel_size>
60 struct Dispatch1D<E, P, kernel_size, 0> {
64 std::cout << "Dispatch(1): " << kernel_size << ": 0" << std::endl
[all …]
Dtransform_kernels.h70 template <typename InType, typename OutType, int kernel_size, int leftovers>
71 class Transform1DKernel<InType, OutType, Quantize, kernel_size, leftovers> {
79 << kernel_size << "x" << leftovers << std::endl; in Transform()
88 template <typename InType, typename OutType, int kernel_size, int leftovers>
89 class Transform1DKernel<InType, OutType, Dequantize, kernel_size, leftovers> {
97 << kernel_size << "x" << leftovers << std::endl; in Transform()
106 template <typename InType, typename OutType, int kernel_size, int leftovers>
107 class Transform1DKernel<InType, OutType, Requantize, kernel_size, leftovers> {
115 << kernel_size << "x" << leftovers << std::endl; in Transform()
124 template <typename InType, typename OutType, int kernel_size, int leftovers,
[all …]
Dmulti_thread_transform.h30 const Params& params, int kernel_size, in PrepareTransform1DTasks() argument
64 template <typename Params, int kernel_size>
68 void Run() override { Transform1D<Params, kernel_size>(params); } in Run()
75 template <typename MultiThreadingContext, typename Params, int kernel_size>
78 typedef internal::Transform1DTaskRunner<Params, kernel_size> TaskRunnerType; in MultiThreadTransform1D()
82 context, params, kernel_size, &task_params)) { in MultiThreadTransform1D()
83 Transform1D<Params, kernel_size>(params); in MultiThreadTransform1D()
Dtest_transform_benchmark.cc46 #define kernel_size (16) macro
55 Transform1D<Params, kernel_size>(params); in run_benchmark()
63 Transform1D<Params, kernel_size>(params); in run_benchmark()
75 MultiThreadTransform1D<Context, Params, kernel_size>(context, params); in run_benchmark()
83 MultiThreadTransform1D<Context, Params, kernel_size>(context, params); in run_benchmark()
Dbase.h122 template <typename InType, typename OutType, typename Kernel, int kernel_size,
/external/bison/src/
DLR0.c86 static int *kernel_size; variable
129 kernel_size = xnmalloc (nsyms, sizeof *kernel_size); in allocate_itemsets()
152 free (kernel_size); in free_storage()
183 memset (kernel_size, 0, nsyms * sizeof *kernel_size); in new_itemsets()
191 if (!kernel_size[sym]) in new_itemsets()
197 kernel_base[sym][kernel_size[sym]] = itemset[i] + 1; in new_itemsets()
198 kernel_size[sym]++; in new_itemsets()
258 shiftset[i] = get_state (sym, kernel_size[sym], kernel_base[sym]); in append_states()
/external/gemmlowp/meta/generators/
Dtransform_kernels_common.py38 def Check(self, in_type, out_type, kernel_size, leftovers): argument
41 assert kernel_size is 16
82 def Check(self, in_type, out_type, kernel_size, leftovers): argument
85 assert kernel_size is 16
151 def Check(self, in_type, out_type, kernel_size, leftovers): argument
154 assert kernel_size is 16
220 def Check(self, in_type, out_type, kernel_size, leftovers): argument
223 assert kernel_size is 16
313 def EmitTransform(self, in_type, out_type, kernel_size, leftovers): argument
315 self.transformation.Check(in_type, out_type, kernel_size, leftovers)
[all …]
Dcommon.py122 def SpecializeTransform1DKernel(self, in_type, out_type, kernel_size, argument
126 in_type, out_type, self.kernel_name, kernel_size, leftovers
135 self.EmitTransform(in_type, out_type, kernel_size, leftovers)
/external/mesa3d/src/intel/vulkan/
Danv_pipeline_cache.c47 const void *kernel_data, uint32_t kernel_size, in anv_shader_bin_create() argument
64 anv_state_pool_alloc(&device->instruction_state_pool, kernel_size, 64); in anv_shader_bin_create()
65 memcpy(shader->kernel.map, kernel_data, kernel_size); in anv_shader_bin_create()
66 shader->kernel_size = kernel_size; in anv_shader_bin_create()
120 align_u32(shader->kernel_size, 8); in anv_shader_bin_data_size()
135 memcpy(data, shader->kernel.map, shader->kernel_size); in anv_shader_bin_write_data()
267 const void *kernel_data, uint32_t kernel_size, in anv_pipeline_cache_add_shader() argument
280 kernel_data, kernel_size, in anv_pipeline_cache_add_shader()
294 const void *kernel_data, uint32_t kernel_size, in anv_pipeline_cache_upload_kernel() argument
304 kernel_data, kernel_size, in anv_pipeline_cache_upload_kernel()
[all …]
Danv_pipeline.c401 const void *kernel_data, uint32_t kernel_size, in anv_pipeline_upload_kernel() argument
408 kernel_data, kernel_size, in anv_pipeline_upload_kernel()
413 kernel_data, kernel_size, in anv_pipeline_upload_kernel()
/external/vboot_reference/futility/
Dvb1_helper.c129 static int KernelSize(uint8_t *kernel_buf, uint64_t kernel_size, in KernelSize() argument
137 return kernel_size; in KernelSize()
143 if (kernel32_start >= kernel_size) { in KernelSize()
147 return kernel_size - kernel32_start; in KernelSize()
152 static int PickApartVmlinuz(uint8_t *kernel_buf, uint64_t kernel_size, in PickApartVmlinuz() argument
157 uint64_t kernel32_size = kernel_size; in PickApartVmlinuz()
166 if (kernel32_start >= kernel_size) { in PickApartVmlinuz()
170 kernel32_size = kernel_size - kernel32_start; in PickApartVmlinuz()
397 uint8_t *SignKernelBlob(uint8_t *kernel_blob, uint64_t kernel_size, in SignKernelBlob() argument
411 body_sig = CalculateSignature(kernel_blob, kernel_size, signpriv_key); in SignKernelBlob()
[all …]
Dvb1_helper.h17 uint8_t *SignKernelBlob(uint8_t *kernel_blob, uint64_t kernel_size,
37 uint64_t kernel_size,
Dcmd_show.c417 uint64_t kernel_size = 0; in futil_cb_show_kernel_preamble() local
495 kernel_size = option.fv_size; in futil_cb_show_kernel_preamble()
499 kernel_size = state->my_area->len - option.padding; in futil_cb_show_kernel_preamble()
508 if (0 != VerifyData(kernel_blob, kernel_size, in futil_cb_show_kernel_preamble()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dilo_shader_cs.c78 sh->kernel = toy_compiler_assemble(tc, &sh->kernel_size); in cs_compile()
86 sh->kernel_size = sizeof(microcode); in cs_compile()
87 sh->kernel = MALLOC(sh->kernel_size); in cs_compile()
116 toy_compiler_disassemble(tc->dev, sh->kernel, sh->kernel_size, false); in cs_compile()
Dilo_shader_gs.c899 sh->kernel = toy_compiler_assemble(tc, &sh->kernel_size); in gs_compile()
905 toy_compiler_disassemble(tc->dev, sh->kernel, sh->kernel_size, false); in gs_compile()
981 sh->kernel = toy_compiler_assemble(tc, &sh->kernel_size); in gs_compile_passthrough()
989 toy_compiler_disassemble(tc->dev, sh->kernel, sh->kernel_size, false); in gs_compile_passthrough()
1391 gs_offset = align(vs->kernel_size, 64); in append_gs_to_vs()
1392 combined = REALLOC(vs->kernel, vs->kernel_size, in append_gs_to_vs()
1393 gs_offset + gs->kernel_size); in append_gs_to_vs()
1397 memcpy(combined + gs_offset, gs->kernel, gs->kernel_size); in append_gs_to_vs()
1400 vs->kernel_size = gs_offset + gs->kernel_size; in append_gs_to_vs()
Dilo_shader_internal.h141 int kernel_size; member
Dilo_shader_vs.c755 sh->kernel = toy_compiler_assemble(tc, &sh->kernel_size); in vs_compile()
764 sh->kernel_size = sizeof(microcode); in vs_compile()
765 sh->kernel = MALLOC(sh->kernel_size); in vs_compile()
794 toy_compiler_disassemble(tc->dev, sh->kernel, sh->kernel_size, false); in vs_compile()
Dilo_shader_fs.c1392 sh->kernel = toy_compiler_assemble(tc, &sh->kernel_size); in fs_compile()
1401 sh->kernel_size = sizeof(microcode); in fs_compile()
1402 sh->kernel = MALLOC(sh->kernel_size); in fs_compile()
1431 toy_compiler_disassemble(tc->dev, sh->kernel, sh->kernel_size, false); in fs_compile()
/external/syslinux/com32/lib/syslinux/
Dload_linux.c152 int bios_boot_linux(void *kernel_buf, size_t kernel_size, in bios_boot_linux() argument
174 if (kernel_size < 2 * 512) { in bios_boot_linux()
244 prot_mode_size = kernel_size - real_mode_size; in bios_boot_linux()
507 int syslinux_boot_linux(void *kernel_buf, size_t kernel_size, in syslinux_boot_linux() argument
513 return firmware->boot_linux(kernel_buf, kernel_size, initramfs, in syslinux_boot_linux()
516 return bios_boot_linux(kernel_buf, kernel_size, initramfs, in syslinux_boot_linux()
/external/syslinux/com32/gfxboot/
Dgfxboot.c173 void gfx_progress_init(ssize_t kernel_size, char *label);
711 void gfx_progress_init(ssize_t kernel_size, char *label) in gfx_progress_init() argument
717 r.eax.l = kernel_size >> gfx_config.sector_shift; // in sectors in gfx_progress_init()
878 ssize_t kernel_size = 0, initrd_size = 0; in boot_entry() local
906 kernel_size = 0; in boot_entry()
909 if(!fstat(fd, &sbuf) && S_ISREG(sbuf.st_mode)) kernel_size = sbuf.st_size; in boot_entry()
913 gfx_progress_init(kernel_size, file); in boot_entry()
915 kernel = load_one(file, &kernel_size); in boot_entry()
921 if(kernel_size < 1024 || *(uint32_t *) (kernel + 0x202) != 0x53726448) { in boot_entry()
973 syslinux_boot_linux(kernel, kernel_size, initrd, NULL, arg); in boot_entry()
/external/avb/examples/uefi/
Duefi_avb_boot.c161 total_size = header->kernel_size; in uefi_avb_boot_kernel()
178 header->kernel_size, in uefi_avb_boot_kernel()
185 avb_memcpy(kernel_buf, boot->data + header->page_size, header->kernel_size); in uefi_avb_boot_kernel()
203 offset += round_up(header->kernel_size, header->page_size); in uefi_avb_boot_kernel()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConvolution.h453 const double kernel_size = m_kernelImpl.dimensions().TotalSize();
462 kernel_size * (m_inputImpl.costPerCoeff(vectorized) +
862 const int kernel_size = m_kernelImpl.dimensions().TotalSize();
875 … const int inner_dim = ((maxSharedMem / (sizeof(Scalar)) - kernel_size + 1 + 31) / 32) * 32;
877 …const int maxP = numext::mini<int>(maxSharedMem / ((kernel_size - 1 + maxX) * sizeof(Scalar)), num…
883 const int inner_dim = maxSharedMem / ((warpSize + kernel_size) * sizeof(Scalar));
885 … maxX = numext::mini<int>(maxSharedMem / (inner_dim * sizeof(Scalar)) - kernel_size + 1, numX);
891 const int shared_mem = block_size.y * (maxX + kernel_size - 1) * sizeof(Scalar);
907 switch(kernel_size) {
917 …ze, shared_mem, m_device, m_inputImpl, indexMapper, m_kernel, numP, numX, maxX, kernel_size, data);
[all …]
/external/syslinux/efi/
Dmain.c1058 int efi_boot_linux(void *kernel_buf, size_t kernel_size, in efi_boot_linux() argument
1101 init_size = (kernel_size - setup_sz) * 3; in efi_boot_linux()
1134 memcpy((void *)(UINTN)kernel_start, kernel_buf+setup_sz, kernel_size-setup_sz); in efi_boot_linux()
1139 kernel_start, kernel_size, initramfs, setup_data, _cmdline); in efi_boot_linux()
1153 dprintf("efi_boot_linux: setup_sects %d kernel_size %d\n", hdr->setup_sects, kernel_size); in efi_boot_linux()
/external/syslinux/com32/include/syslinux/
Dlinux.h160 int syslinux_boot_linux(void *kernel_buf, size_t kernel_size,
/external/mesa3d/src/intel/blorp/
Dblorp.h60 const void *kernel, uint32_t kernel_size,

12