MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / Libraries

Class Libraries

Bench/src/main.cpp:96–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96struct Libraries
97{
98 enum ELibs
99 {
100 IPP,
101 CL,
102 NPP,
103 CV,
104 NbLibs,
105 };
106
107 ELibs ID;
108 double Time;
109 bool Available;
110 bool Success;
111
112 const char * Name()
113 {
114 switch (ID)
115 {
116 case CL:
117 return "CL";
118 case IPP:
119 return "IPP";
120 case NPP:
121 return "NPP";
122 case CV:
123 return "CV";
124 default:
125 return "";
126 }
127
128 }
129
130};
131//-------------------------------------------------------------------------------------------------
132template<class BenchableType>
133void runbench(const char* szBenchname, BenchableType& cBenchable)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected