BW_Benchmark Derived Type

type, public, extends(Kernel_T) :: BW_Benchmark


Inherits

type~~bw_benchmark~~InheritsGraph type~bw_benchmark BW_Benchmark type~kernel_t Kernel_T type~bw_benchmark->type~kernel_t

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: filename
real, public, allocatable :: buffer(:)

Type-Bound Procedures

procedure, public :: run

  • private subroutine run(this, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(BW_Benchmark), intent(in) :: this
    integer, intent(out), optional :: rc

Source Code

   type, extends(Kernel_T) :: BW_Benchmark
      real, allocatable :: buffer(:)
      character(:), allocatable :: filename
   contains
      procedure :: run
   end type BW_Benchmark