Compute Library
 19.08
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 ()
 Default constructor. 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 }

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