attempts at folding opencl support in

This commit is contained in:
itsmattkc
2019-10-28 18:21:20 +11:00
parent 3fb53586d4
commit 401aff52a8
22 changed files with 399 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#include "nodecode.h"
NodeCode::NodeCode()
{
}
NodeCode::NodeCode(const QString &function_name, const QString &code) :
function_name_(function_name),
code_(code)
{
}
bool NodeCode::IsValid()
{
return (!function_name_.isEmpty() && !code_.isEmpty());
}
const QString &NodeCode::function_name()
{
return function_name_;
}
const QString &NodeCode::code()
{
return code_;
}