Reference Guide  2.5.0
psyclone.parse.algorithm.KernelCall Class Reference
Inheritance diagram for psyclone.parse.algorithm.KernelCall:
Collaboration diagram for psyclone.parse.algorithm.KernelCall:

Public Member Functions

def __init__ (self, module_name, ktype, args)
 
def type (self)
 
def __repr__ (self)
 
- Public Member Functions inherited from psyclone.parse.algorithm.ParsedCall
def __init__ (self, ktype, args)
 
def ktype (self)
 
def args (self)
 
def module_name (self)
 

Detailed Description

Store information about a user-supplied (coded) kernel. Specialises
the generic ParsedCall class adding a module name value and a
type for distinguishing this class.

:param str module_name: the name of the kernel module.
:param ktype: information about the kernel. Provides access to the \
PSyclone description metadata and the code.
:type ktype: API-specific specialisation of \
:py:class:`psyclone.parse.kernel.KernelType`
:param args: a list of Arg instances which capture the relevant \
information about the arguments associated with the call to the \
kernel.
:type arg: list of :py:class:`psyclone.parse.algorithm.Arg`

Definition at line 1007 of file algorithm.py.

Member Function Documentation

◆ type()

def psyclone.parse.algorithm.KernelCall.type (   self)
Specifies that this is a kernel call.

:returns: the type of call as a string.
:rtype: str

Definition at line 1028 of file algorithm.py.

1028  def type(self):
1029  '''Specifies that this is a kernel call.
1030 
1031  :returns: the type of call as a string.
1032  :rtype: str
1033 
1034  '''
1035  return "kernelCall"
1036 

The documentation for this class was generated from the following file: