Compute Library
 19.11
GCTranspose Class Reference

Basic function to transpose a matrix on OpenGL ES. More...

#include <GCTranspose.h>

Collaboration diagram for GCTranspose:
[legend]

Public Member Functions

void configure (const IGCTensor *input, IGCTensor *output)
 Initialise the kernel's inputs and output. More...
 
- Public Member Functions inherited from IGCSimpleFunction
 IGCSimpleFunction (GCRuntimeContext *ctx=nullptr)
 Default Constructor. More...
 
 IGCSimpleFunction (const IGCSimpleFunction &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 IGCSimpleFunction (IGCSimpleFunction &&)=default
 Default move constructor. More...
 
IGCSimpleFunctionoperator= (const IGCSimpleFunction &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
IGCSimpleFunctionoperator= (IGCSimpleFunction &&)=default
 Default move assignment operator. More...
 
void run () override final
 Run the kernels contained in the function. More...
 
- Public Member Functions inherited from IFunction
virtual ~IFunction ()=default
 Destructor. More...
 
virtual void prepare ()
 Prepare the function for executing. More...
 

Detailed Description

Basic function to transpose a matrix on OpenGL ES.

This function calls the following OpenGL ES kernel:

  1. GCTransposeKernel

Definition at line 38 of file GCTranspose.h.

Member Function Documentation

◆ configure()

void configure ( const IGCTensor input,
IGCTensor output 
)

Initialise the kernel's inputs and output.

Parameters
[in]inputInput tensor. Data types supported: F16/F32
[out]outputOutput tensor. Data type supported: Same as input

Definition at line 33 of file GCTranspose.cpp.

34 {
35  auto k = arm_compute::support::cpp14::make_unique<GCTransposeKernel>();
36  k->configure(input, output);
37  _kernel = std::move(k);
38 }

References arm_compute::test::validation::input.


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