Home
last modified time | relevance | path

Searched refs:kernargs (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/config/gcn/
H A Dgcn-run.cc488 struct kernargs struct
529 gomp_print_output (struct kernargs *kernargs, bool final) in gomp_print_output() argument
531 unsigned int limit = (sizeof (kernargs->output_data.queue) in gomp_print_output()
532 / sizeof (kernargs->output_data.queue[0])); in gomp_print_output()
534 unsigned int from = __atomic_load_n (&kernargs->output_data.consumed, in gomp_print_output()
536 unsigned int to = kernargs->output_data.next_output; in gomp_print_output()
549 struct printf_data *data = &kernargs->output_data.queue[i%limit]; in gomp_print_output()
574 __atomic_store_n (&kernargs->output_data.consumed, i+1, in gomp_print_output()
583 run (uint64_t kernel, void *kernargs) in run() argument
605 dispatch_packet->kernarg_address = (void *) kernargs; in run()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/gcn/
H A Dgcn-run.c636 struct kernargs struct
677 gomp_print_output (struct kernargs *kernargs, bool final) in gomp_print_output() argument
679 unsigned int limit = (sizeof (kernargs->output_data.queue) in gomp_print_output()
680 / sizeof (kernargs->output_data.queue[0])); in gomp_print_output()
682 unsigned int from = __atomic_load_n (&kernargs->output_data.consumed, in gomp_print_output()
684 unsigned int to = kernargs->output_data.next_output; in gomp_print_output()
697 struct printf_data *data = &kernargs->output_data.queue[i%limit]; in gomp_print_output()
722 __atomic_store_n (&kernargs->output_data.consumed, i+1, in gomp_print_output()
731 run (uint64_t kernel, void *kernargs) in run() argument
753 dispatch_packet->kernarg_address = (void *) kernargs; in run()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgomp/plugin/
H A Dplugin-gcn.c238 struct kernargs { struct
1029 struct kernargs *kernargs = (struct kernargs *)dispatch->kernarg_address; in print_kernel_dispatch() local
1033 fprintf (stderr, "%*skernarg_address: %p\n", indent, "", kernargs); in print_kernel_dispatch()
1035 (void*)kernargs->heap_ptr); in print_kernel_dispatch()
1037 (void*)kernargs->arena_ptr); in print_kernel_dispatch()
1896 sizeof (struct kernargs), in create_kernel_dispatch()
1900 struct kernargs *kernargs = shadow->kernarg_address; in create_kernel_dispatch() local
1903 kernargs->out_ptr = (int64_t)&kernargs->output_data; in create_kernel_dispatch()
1904 kernargs->output_data.next_output = 0; in create_kernel_dispatch()
1906 i < (sizeof (kernargs->output_data.queue) in create_kernel_dispatch()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/plugin/
H A Dplugin-gcn.c240 struct kernargs { struct
1032 struct kernargs *kernargs = (struct kernargs *)dispatch->kernarg_address; in print_kernel_dispatch() local
1036 fprintf (stderr, "%*skernarg_address: %p\n", indent, "", kernargs); in print_kernel_dispatch()
1038 (void*)kernargs->heap_ptr); in print_kernel_dispatch()
1040 (void*)kernargs->arena_ptr); in print_kernel_dispatch()
1896 sizeof (struct kernargs), in create_kernel_dispatch()
1900 struct kernargs *kernargs = shadow->kernarg_address; in create_kernel_dispatch() local
1903 kernargs->out_ptr = (int64_t)&kernargs->output_data; in create_kernel_dispatch()
1904 kernargs->output_data.next_output = 0; in create_kernel_dispatch()
1906 i < (sizeof (kernargs->output_data.queue) in create_kernel_dispatch()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/gcn/
H A Dteam.c63 register void **kernargs asm("s8"); in gomp_gcn_enter_kernel()
64 void *team_arena = (kernargs[4] + TEAM_ARENA_SIZE*teamid); in gomp_gcn_enter_kernel()
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/gcn/
H A Dteam.c63 register void **kernargs asm("s8"); in gomp_gcn_enter_kernel()
64 void *team_arena = (kernargs[4] + TEAM_ARENA_SIZE*teamid); in gomp_gcn_enter_kernel()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A DChangeLog-20195105 (struct kernargs): Move heap ....
5107 (main): Allocate heap separate to kernargs.
31854 (main): Initialize kernargs->output_data.consumed.
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dextend.texi4548 conventional place within the HSA "kernargs" region.
4570 locate the kernel arguments, "kernargs").
H A Dgcc.info36336 to a conventional place within the HSA "kernargs" region.
36358 (required to locate the kernel arguments, "kernargs").
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/
H A Dextend.texi4168 conventional place within the HSA "kernargs" region.
4190 locate the kernel arguments, "kernargs").
H A Dgcc.info32901 to a conventional place within the HSA "kernargs" region.
32923 (required to locate the kernel arguments, "kernargs").