to_cstr Subroutine

private subroutine to_cstr(self, c_code)

Converts Fortran CUDA code to C pointer

Type Bound

kernel_codegen

Arguments

Type IntentOptional Attributes Name
class(kernel_codegen), intent(in) :: self

Kernel code

character(len=c_char), intent(out), allocatable :: c_code(:)

C pointer to code


Calls

proc~~to_cstr~~CallsGraph proc~to_cstr kernel_codegen%to_cstr proc~astring_f2c astring_f2c proc~to_cstr->proc~astring_f2c proc~string_f2c string_f2c proc~astring_f2c->proc~string_f2c

Called by

proc~~to_cstr~~CalledByGraph proc~to_cstr kernel_codegen%to_cstr proc~compile_and_cache compile_and_cache proc~compile_and_cache->proc~to_cstr proc~get_kernel get_kernel proc~get_kernel->proc~compile_and_cache proc~get_transpose_kernel get_transpose_kernel proc~get_kernel->proc~get_transpose_kernel proc~get_transpose_kernel->proc~compile_and_cache proc~create~4 nvrtc_kernel%create proc~create~4->proc~get_kernel proc~create~9 transpose_handle_cuda%create proc~create~9->proc~create~4