Compute Library
CLGEMMHeuristicsHandle Class Reference

Handle for loading and retrieving GEMM heuristics. More...

#include <CLGEMMHeuristicsHandle.h>

Public Member Functions

 CLGEMMHeuristicsHandle ()
 Constructor. More...
 ~CLGEMMHeuristicsHandle ()
 Destructor. More...
 CLGEMMHeuristicsHandle (const CLGEMMHeuristicsHandle &)=delete
 Prevent Copy Construct. More...
CLGEMMHeuristicsHandleoperator= (const CLGEMMHeuristicsHandle &)=delete
 Prevent Copy Assignment. More...
 CLGEMMHeuristicsHandle (CLGEMMHeuristicsHandle &&)=default
 Default Move Constructor. More...
CLGEMMHeuristicsHandleoperator= (CLGEMMHeuristicsHandle &&)=default
 Default Move Assignment. More...
bool reload_from_file (const std::string &filename)
 (Re)Load the heuristics from reading a dotmlgo file More...
const mlgo::MLGOHeuristicsget () const
 Return a pointer to underlying heuristics for querying purposes. More...

Detailed Description

Handle for loading and retrieving GEMM heuristics.

Definition at line 38 of file CLGEMMHeuristicsHandle.h.

Constructor & Destructor Documentation

◆ CLGEMMHeuristicsHandle() [1/3]


Definition at line 30 of file CLGEMMHeuristicsHandle.cpp.

31  : _heuristics(std::make_unique<mlgo::MLGOHeuristics>())
32 {
33 }

◆ ~CLGEMMHeuristicsHandle()

~CLGEMMHeuristicsHandle ( )


◆ CLGEMMHeuristicsHandle() [2/3]

Prevent Copy Construct.

◆ CLGEMMHeuristicsHandle() [3/3]

Default Move Constructor.

Member Function Documentation

◆ get()

◆ operator=() [1/2]

CLGEMMHeuristicsHandle& operator= ( const CLGEMMHeuristicsHandle )

Prevent Copy Assignment.

◆ operator=() [2/2]

CLGEMMHeuristicsHandle& operator= ( CLGEMMHeuristicsHandle &&  )

Default Move Assignment.

◆ reload_from_file()

bool reload_from_file ( const std::string &  filename)

(Re)Load the heuristics from reading a dotmlgo file

[in]filenamePath to the dotmlgo file
bool Signals if the reload succeeded or failed

Definition at line 36 of file CLGEMMHeuristicsHandle.cpp.

37 {
38  return _heuristics->reload_from_file(filename);
39 }

Referenced by main(), and CLDeviceBackend::setup_backend_context().

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