This commit is contained in:
Martin Slachta
2026-07-18 14:31:15 +02:00
commit a04f0dc262
3343 changed files with 1140208 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include <exception>
#include <string>
namespace lft {
class GpuException : public std::exception {
std::string m_reason;
public:
GpuException(const std::string& reason) : m_reason(reason) {
}
virtual const char* what() const noexcept override {
return m_reason.c_str();
}
};
}