22.02
|
#include <ClContextSerializer.hpp>
Public Member Functions | |
ClContextSerializer ()=default | |
~ClContextSerializer ()=default | |
void | Serialize (const arm_compute::CLCompileContext &clCompileContext) |
Serializes the CLCompileContext built-in programs. More... | |
bool | SaveSerializedToStream (std::ostream &stream) |
Serializes the ClContext to the stream. More... | |
Definition at line 15 of file ClContextSerializer.hpp.
|
default |
|
default |
bool SaveSerializedToStream | ( | std::ostream & | stream | ) |
Serializes the ClContext to the stream.
[stream] | the stream to save to |
Definition at line 49 of file ClContextSerializer.cpp.
References armnn::numeric_cast().
Referenced by ClWorkloadFactory::AfterWorkloadsCreated().
void Serialize | ( | const arm_compute::CLCompileContext & | clCompileContext | ) |
Serializes the CLCompileContext built-in programs.
[in] | clCompileContext | The CLCompileContext to be serialized. |
Definition at line 23 of file ClContextSerializer.cpp.
References ARMNN_LOG, armnn::CreateClContext(), armnn::CreateProgram(), and armnn::warning.
Referenced by ClWorkloadFactory::AfterWorkloadsCreated().