attempts at folding opencl support in
This commit is contained in:
@@ -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_;
|
||||
}
|
||||
Reference in New Issue
Block a user