FLImaging 6.12.9.2
BackendBase.h
1#pragma once
2
3#if _MSC_VER >= 1900 && defined(_M_X64)
4
5#include "DefinitionsAI.h"
6
7namespace FLImaging
8{
9 namespace AI
10 {
11 template <typename T>
12 class CComputationalGraphUtilities;
13
14 template <typename T>
15 class FL_EXPORT CBackendBase : public CAlgorithmAIBase
16 {
17
18 public:
19 CBackendBase();
20 virtual ~CBackendBase();
21
22 virtual const CResult SetDeviceIndex(int32_t i32DeviceIndex);
23 virtual int32_t GetDeviceIndex() const;
24
25 virtual const CResult EnableTensorCore(bool bTensorCore = true);
26 virtual bool IsTensorCoreEnabled() const;
27
28 virtual const CResult Clear();
29 DeclareGetClassType();
30 SupportToDuplicateAbstractObject(CBackendBase<T>);
31
32 protected:
33 virtual void Throw(const CResult& res, const wchar_t* pWcsExtraMessage = nullptr) const override;
34 protected:
35 int32_t m_i32DeviceIndex;
36 bool m_bTensorCoreEnabled;
37
38 protected:
39 template <typename T>
40 friend class CComputationalGraphUtilities;
41 };
42 }
43}
44
45#endif
알고리즘에서 필요한 프로세싱 유닛 AI 클래스
Definition AlgorithmAIBase.h:27
Definition AlgorithmAIBase.h:18
@ Clear
도형 정리 메뉴
Definition DefinitionsGUI.h:2110