Searched refs:kernel_count (Results 1 – 4 of 4) sorted by relevance
344 const unsigned kernel_count; member402 int kernel_count; member533 for (unsigned i = 0; i < module->kernel_count; i++) in get_kernel_for_agent()848 for (i = 0; i < module->kernel_count; i++) in destroy_hsa_program()899 int kernel_count = image_desc->kernel_count; in GOMP_OFFLOAD_load_image() local914 HSA_DEBUG ("Encountered %d kernels in an image\n", kernel_count); in GOMP_OFFLOAD_load_image()915 pair = GOMP_PLUGIN_malloc (kernel_count * sizeof (struct addr_pair)); in GOMP_OFFLOAD_load_image()919 + kernel_count * sizeof (struct kernel_info)); in GOMP_OFFLOAD_load_image()921 module->kernel_count = kernel_count; in GOMP_OFFLOAD_load_image()926 for (unsigned i = 0; i < kernel_count; i++) in GOMP_OFFLOAD_load_image()[all …]
395 const unsigned kernel_count; member521 int kernel_count; member2682 for (i = 0; i < agent->module->kernel_count; i++) in destroy_hsa_program()2718 for (i = 0; i < module->kernel_count; i++) in destroy_module()3238 for (unsigned i = 0; i < kernel->module->image_desc->kernel_count; i++) in gcn_exec()3533 int kernel_count = image_desc->kernel_count; in GOMP_OFFLOAD_load_image() local3549 GCN_DEBUG ("Encountered %d kernels in an image\n", kernel_count); in GOMP_OFFLOAD_load_image()3551 pair = GOMP_PLUGIN_malloc ((kernel_count + var_count - 2) in GOMP_OFFLOAD_load_image()3556 + kernel_count * sizeof (struct kernel_info)); in GOMP_OFFLOAD_load_image()3558 module->kernel_count = kernel_count; in GOMP_OFFLOAD_load_image()[all …]
392 const unsigned kernel_count; member518 int kernel_count; member2491 for (i = 0; i < agent->module->kernel_count; i++) in destroy_hsa_program()2527 for (i = 0; i < module->kernel_count; i++) in destroy_module()3043 for (unsigned i = 0; i < kernel->module->image_desc->kernel_count; i++) in gcn_exec()3357 int kernel_count = image_desc->kernel_count; in GOMP_OFFLOAD_load_image() local3374 GCN_DEBUG ("Encountered %d kernels in an image\n", kernel_count); in GOMP_OFFLOAD_load_image()3377 pair = GOMP_PLUGIN_malloc ((kernel_count + var_count + other_count - 2) in GOMP_OFFLOAD_load_image()3382 + kernel_count * sizeof (struct kernel_info)); in GOMP_OFFLOAD_load_image()3384 module->kernel_count = kernel_count; in GOMP_OFFLOAD_load_image()[all …]
2353 unsigned kernel_count = hsa_get_number_decl_kernel_mappings (); in hsa_output_libgomp_mapping() local2391 build_int_cstu (unsigned_type_node, kernel_count)); in hsa_output_libgomp_mapping()2430 = wi::to_offset (TYPE_SIZE_UNIT (ptr_type_node)) * kernel_count; in hsa_output_libgomp_mapping()