PIP 5.6.1
Platform-Independent Primitives
Public Member Functions | Public Attributes | List of all members
PIOpenCL::KernelArg Struct Reference

Reflected description of a kernel argument. More...

#include <piopencl.h>

Public Member Functions

 KernelArg ()
 Constructs an empty argument description.
 

Public Attributes

AddressQualifier address_qualifier
 Address qualifier reported by OpenCL.
 
AccessQualifier access_qualifier
 Access qualifier reported by OpenCL.
 
Direction direction
 Intended transfer direction used by this wrapper.
 
TypeQualifier type_qualifier
 Type qualifier reported by OpenCL.
 
PIString arg_name
 Argument name from kernel metadata.
 
PIString type_name
 Original type name from kernel metadata.
 
PIString base_type_name
 Base type name without pointer or array suffixes.
 
bool is_pointer
 True when the argument is pointer-like.
 
ArgType arg_type
 Wrapper-level scalar type classification.
 
int dims
 Pointer or array depth inferred from the type name.
 

Detailed Description

Reflected description of a kernel argument.