HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_opencl.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_opencl_h__
10 #define __HOM_opencl_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_ElemPtr.h"
15 #include "HOM_Errors.h"
16 
17 #include <string>
18 #include <vector>
19 
20 class HOM_EnumValue;
21 class HOM_OpenCLDevice;
22 
23 SWIGOUT(%rename(opencl) HOM_opencl;)
24 
26 {
27 public:
28  virtual ~HOM_opencl()
29  {}
30 
31  virtual std::string __repr__() = 0;
32 
33  virtual std::vector<HOM_ElemPtr<HOM_OpenCLDevice>>
34  devices(HOM_EnumValue &device_type) = 0;
35 };
36 
37 #endif
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
#define HOM_API
Definition: HOM_API.h:13
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual ~HOM_opencl()
Definition: HOM_opencl.h:28