#1273 Fixed crash when use "GET /2/backends" API endpoint with disabled CUDA.
This commit is contained in:
parent
e450e62b40
commit
2abea46a87
2 changed files with 16 additions and 13 deletions
|
@ -69,8 +69,9 @@ public:
|
|||
static const char *lastError() noexcept;
|
||||
static void close();
|
||||
|
||||
static inline bool isInitialized() { return m_initialized; }
|
||||
static inline const String &loader() { return m_loader; }
|
||||
static inline bool isInitialized() { return m_initialized; }
|
||||
static inline bool isReady() noexcept { return m_ready; }
|
||||
static inline const String &loader() { return m_loader; }
|
||||
|
||||
static bool cnHash(nvid_ctx *ctx, uint32_t startNonce, uint64_t height, uint64_t target, uint32_t *rescount, uint32_t *resnonce);
|
||||
static bool deviceInit(nvid_ctx *ctx) noexcept;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue