18#ifndef itkOpenCLPlatform_h
19#define itkOpenCLPlatform_h
83 return this->m_Id == 0;
140 std::list<std::string>
153 static std::list<OpenCLPlatform>
178template <
typename charT,
typename traits>
179inline std::basic_ostream<charT, traits> &
184 strm <<
"OpenCLPlatform(null)";
188 const char indent =
' ';
190 strm <<
"OpenCLPlatform\n" << indent <<
"Id: " << platform.
GetPlatformId() << std::endl;
192 strm << indent <<
"OpenCL version: ";
216 << indent <<
"Full profile: " << (platform.
IsFullProfile() ?
"On" :
"Off") <<
'\n'
217 << indent <<
"Embedded profile: " << (platform.
IsEmbeddedProfile() ?
"On" :
"Off") <<
'\n'
218 << indent <<
"Profile: " << platform.
GetProfile() <<
'\n'
219 << indent <<
"Version: " << platform.
GetVersion() <<
'\n'
220 << indent <<
"Name: " << platform.
GetName() <<
'\n'
221 << indent <<
"Vendor: " << platform.
GetVendor() <<
'\n'
224 const std::list<std::string> extensions = platform.
GetExtensions();
225 const std::size_t extensionsSize = extensions.size();
226 strm << indent <<
"Extensions(" << extensionsSize <<
"): ";
227 if (extensions.empty())
234 for (std::list<std::string>::const_iterator it = extensions.begin(); it != extensions.end(); ++it)
236 strm << indent << indent <<
"- " << *it << std::endl;
bool ITKOpenCL_EXPORT operator==(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
bool ITKOpenCL_EXPORT operator!=(const OpenCLCommandQueue &lhs, const OpenCLCommandQueue &rhs)
std::basic_ostream< charT, traits > & operator<<(std::basic_ostream< charT, traits > &strm, const OpenCLCommandQueue &queue)