Home
last modified time | relevance | path

Searched refs:hostaddrs (Results 1 – 18 of 18) sorted by relevance

/netbsd/external/gpl3/gcc.old/dist/libgomp/
H A Doacc-parallel.c83 && hostaddrs[i] == *(void **)hostaddrs[i + 1]) in handle_ftn_pointers()
90 hostaddrs[i] = NULL; in handle_ftn_pointers()
194 fn (hostaddrs); in GOACC_parallel_keyed()
200 fn (hostaddrs); in GOACC_parallel_keyed()
356 size_t mapnum, void **hostaddrs, size_t *sizes, in GOACC_parallel() argument
362 fn (hostaddrs); in GOACC_parallel()
657 uintptr_t t = *(uintptr_t *) hostaddrs[i]; in GOACC_update()
668 *(uintptr_t *) hostaddrs[i] = t; in GOACC_update()
674 if (!acc_is_present (hostaddrs[i], sizes[i])) in GOACC_update()
686 if (!acc_is_present (hostaddrs[i], sizes[i])) in GOACC_update()
[all …]
H A Dtarget.c647 + (uintptr_t) hostaddrs[i] in gomp_map_val()
717 if (hostaddrs[i] == NULL in gomp_map_vars_internal()
747 hostaddrs[i] in gomp_map_vars_internal()
793 + (uintptr_t) hostaddrs[i], in gomp_map_vars_internal()
966 if (hostaddrs[i] == NULL) in gomp_map_vars_internal()
1003 hostaddrs[i] in gomp_map_vars_internal()
1034 - (uintptr_t) hostaddrs[i]; in gomp_map_vars_internal()
1037 - (uintptr_t) hostaddrs[i]; in gomp_map_vars_internal()
1042 - (uintptr_t) hostaddrs[first]; in gomp_map_vars_internal()
1903 fn (hostaddrs); in gomp_target_fallback()
[all …]
H A Doacc-mem.c359 void *hostaddrs = h; in acc_map_data() local
537 if (!hostaddrs[0] || !sizes[0]) in goacc_enter_datum()
546 return hostaddrs[0]; in goacc_enter_datum()
559 n = lookup_host (acc_dev, hostaddrs[0], sizes[0]); in goacc_enter_datum()
1076 void **hostaddrs, size_t *sizes, in goacc_enter_data_internal() argument
1093 - (uintptr_t) hostaddrs[i]; in goacc_enter_data_internal()
1138 void *h = hostaddrs[i]; in goacc_enter_data_internal()
1162 (uintptr_t) hostaddrs[j], sizes[j], NULL); in goacc_enter_data_internal()
1195 else if (hostaddrs[i]) in goacc_enter_data_internal()
1228 void **hostaddrs, size_t *sizes, in goacc_exit_data_internal() argument
[all …]
H A Doacc-host.c140 void **hostaddrs, in host_openacc_exec() argument
145 fn (hostaddrs); in host_openacc_exec()
151 void **hostaddrs, in host_openacc_async_exec() argument
157 fn (hostaddrs); in host_openacc_async_exec()
H A Dtask.c678 void (*fn) (void *), size_t mapnum, void **hostaddrs, in gomp_create_target_task() argument
751 memcpy (ttask->hostaddrs, hostaddrs, mapnum * sizeof (void *)); in gomp_create_target_task()
752 ttask->sizes = (size_t *) &ttask->hostaddrs[mapnum]; in gomp_create_target_task()
769 memcpy (tgt + tgt_size, hostaddrs[i], sizes[i]); in gomp_create_target_task()
770 ttask->hostaddrs[i] = tgt + tgt_size; in gomp_create_target_task()
H A Dlibgomp.h593 void *hostaddrs[]; member
/netbsd/external/gpl3/gcc/dist/libgomp/
H A Doacc-parallel.c83 && hostaddrs[i] == *(void **)hostaddrs[i + 1]) in handle_ftn_pointers()
90 hostaddrs[i] = NULL; in handle_ftn_pointers()
194 fn (hostaddrs); in GOACC_parallel_keyed()
200 fn (hostaddrs); in GOACC_parallel_keyed()
353 size_t mapnum, void **hostaddrs, size_t *sizes, in GOACC_parallel() argument
359 fn (hostaddrs); in GOACC_parallel()
652 void *dptr = acc_deviceptr (hostaddrs[i-1]); in GOACC_update()
653 uintptr_t t = *(uintptr_t *) hostaddrs[i]; in GOACC_update()
664 *(uintptr_t *) hostaddrs[i] = t; in GOACC_update()
670 if (!acc_is_present (hostaddrs[i], sizes[i])) in GOACC_update()
[all …]
H A Doacc-mem.c359 void *hostaddrs = h; in acc_map_data() local
537 if (!hostaddrs[0] || !sizes[0]) in goacc_enter_datum()
546 return hostaddrs[0]; in goacc_enter_datum()
1076 void **hostaddrs, size_t *sizes, in goacc_enter_data_internal() argument
1093 - (uintptr_t) hostaddrs[i]; in goacc_enter_data_internal()
1138 void *h = hostaddrs[i]; in goacc_enter_data_internal()
1162 (uintptr_t) hostaddrs[j], sizes[j], NULL, in goacc_enter_data_internal()
1196 else if (hostaddrs[i]) in goacc_enter_data_internal()
1229 void **hostaddrs, size_t *sizes, in goacc_exit_data_internal() argument
1509 if (acc_is_present (hostaddrs[i], sizes[i])) in GOACC_declare()
[all …]
H A Dtarget.c909 + (uintptr_t) hostaddrs[i] in gomp_map_val()
983 if (hostaddrs[i] == NULL in gomp_map_vars_internal()
1013 hostaddrs[i] in gomp_map_vars_internal()
1060 + (uintptr_t) hostaddrs[i], in gomp_map_vars_internal()
1339 if (hostaddrs[i] == NULL) in gomp_map_vars_internal()
1376 hostaddrs[i] in gomp_map_vars_internal()
1407 - (uintptr_t) hostaddrs[i]; in gomp_map_vars_internal()
1410 - (uintptr_t) hostaddrs[i]; in gomp_map_vars_internal()
1416 - (uintptr_t) hostaddrs[first]; in gomp_map_vars_internal()
2475 fn (hostaddrs); in gomp_target_fallback()
[all …]
H A Doacc-host.c140 void **hostaddrs, in host_openacc_exec() argument
145 fn (hostaddrs); in host_openacc_exec()
151 void **hostaddrs, in host_openacc_async_exec() argument
157 fn (hostaddrs); in host_openacc_async_exec()
H A Dtask.c716 void (*fn) (void *), size_t mapnum, void **hostaddrs, in gomp_create_target_task() argument
801 memcpy (ttask->hostaddrs, hostaddrs, mapnum * sizeof (void *)); in gomp_create_target_task()
804 ttask->args = (void **) &ttask->hostaddrs[mapnum]; in gomp_create_target_task()
811 ttask->sizes = (size_t *) &ttask->hostaddrs[mapnum]; in gomp_create_target_task()
829 memcpy (tgt + tgt_size, hostaddrs[i], sizes[i]); in gomp_create_target_task()
830 ttask->hostaddrs[i] = tgt + tgt_size; in gomp_create_target_task()
H A Dlibgomp.h659 void *hostaddrs[]; member
/netbsd/external/gpl3/gcc/dist/libgomp/config/gcn/
H A Dtarget.c75 void **hostaddrs, size_t *sizes, unsigned short *kinds, in ialias()
81 (void) hostaddrs; in ialias()
91 GOMP_target_data_ext (int device, size_t mapnum, void **hostaddrs, in GOMP_target_data_ext() argument
96 (void) hostaddrs; in GOMP_target_data_ext()
109 GOMP_target_update_ext (int device, size_t mapnum, void **hostaddrs, in GOMP_target_update_ext() argument
115 (void) hostaddrs; in GOMP_target_update_ext()
124 GOMP_target_enter_exit_data (int device, size_t mapnum, void **hostaddrs, in GOMP_target_enter_exit_data() argument
130 (void) hostaddrs; in GOMP_target_enter_exit_data()
/netbsd/external/gpl3/gcc/dist/libgomp/config/nvptx/
H A Dtarget.c88 void **hostaddrs, size_t *sizes, unsigned short *kinds, in ialias()
94 (void) hostaddrs; in ialias()
104 GOMP_target_data_ext (int device, size_t mapnum, void **hostaddrs, in GOMP_target_data_ext() argument
109 (void) hostaddrs; in GOMP_target_data_ext()
122 GOMP_target_update_ext (int device, size_t mapnum, void **hostaddrs, in GOMP_target_update_ext() argument
128 (void) hostaddrs; in GOMP_target_update_ext()
137 GOMP_target_enter_exit_data (int device, size_t mapnum, void **hostaddrs, in GOMP_target_enter_exit_data() argument
143 (void) hostaddrs; in GOMP_target_enter_exit_data()
/netbsd/external/gpl3/gcc.old/dist/libgomp/plugin/
H A Dplugin-nvptx.c705 nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs, in nvptx_exec() argument
1365 void **hostaddrs, void **devaddrs, in GOMP_OFFLOAD_openacc_exec() argument
1384 hp[i] = (devaddrs[i] ? devaddrs[i] : hostaddrs[i]); in GOMP_OFFLOAD_openacc_exec()
1426 nvptx_exec (fn, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, in GOMP_OFFLOAD_openacc_exec()
1452 void **hostaddrs, void **devaddrs, in GOMP_OFFLOAD_openacc_async_exec() argument
1474 hp[i] = (devaddrs[i] ? devaddrs[i] : hostaddrs[i]); in GOMP_OFFLOAD_openacc_async_exec()
1523 nvptx_exec (fn, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, in GOMP_OFFLOAD_openacc_async_exec()
H A Dplugin-gcn.c3220 gcn_exec (struct kernel_info *kernel, size_t mapnum, void **hostaddrs, in gcn_exec() argument
3234 devaddrs[i] ? &devaddrs[i] : &hostaddrs[i], in gcn_exec()
3949 void **hostaddrs, void **devaddrs, unsigned *dims, in GOMP_OFFLOAD_openacc_exec() argument
3954 gcn_exec (kernel, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, false, in GOMP_OFFLOAD_openacc_exec()
3962 void **hostaddrs, void **devaddrs, in GOMP_OFFLOAD_openacc_async_exec() argument
3968 gcn_exec (kernel, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, true, in GOMP_OFFLOAD_openacc_async_exec()
/netbsd/external/gpl3/gcc/dist/libgomp/plugin/
H A Dplugin-nvptx.c737 nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs, in nvptx_exec() argument
1454 void **hostaddrs, void **devaddrs, in GOMP_OFFLOAD_openacc_exec() argument
1473 hp[i] = (devaddrs[i] ? devaddrs[i] : hostaddrs[i]); in GOMP_OFFLOAD_openacc_exec()
1515 nvptx_exec (fn, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, in GOMP_OFFLOAD_openacc_exec()
1541 void **hostaddrs, void **devaddrs, in GOMP_OFFLOAD_openacc_async_exec() argument
1563 hp[i] = (devaddrs[i] ? devaddrs[i] : hostaddrs[i]); in GOMP_OFFLOAD_openacc_async_exec()
1612 nvptx_exec (fn, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, in GOMP_OFFLOAD_openacc_async_exec()
H A Dplugin-gcn.c3025 gcn_exec (struct kernel_info *kernel, size_t mapnum, void **hostaddrs, in gcn_exec() argument
3039 devaddrs[i] ? &devaddrs[i] : &hostaddrs[i], in gcn_exec()
3810 void **hostaddrs, void **devaddrs, unsigned *dims, in GOMP_OFFLOAD_openacc_exec() argument
3815 gcn_exec (kernel, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, false, in GOMP_OFFLOAD_openacc_exec()
3823 void **hostaddrs, void **devaddrs, in GOMP_OFFLOAD_openacc_async_exec() argument
3829 gcn_exec (kernel, mapnum, hostaddrs, devaddrs, dims, targ_mem_desc, true, in GOMP_OFFLOAD_openacc_async_exec()