forked from OSchip/llvm-project
GPGPU: Pull implementation out of class definition
This will allow us to see the full class definition even after we add non-trivial implementations of the different member functions. llvm-svn: 275797
This commit is contained in:
parent
d3c284f645
commit
1fb9b64dc0
|
@ -92,12 +92,15 @@ private:
|
|||
/// - Kernel: A GPU kernel call (TODO)
|
||||
/// - Data-Transfer: A GPU <-> CPU data-transfer (TODO)
|
||||
///
|
||||
virtual void createUser(__isl_take isl_ast_node *User) {
|
||||
isl_ast_node_free(User);
|
||||
return;
|
||||
}
|
||||
/// @param UserStmt The ast node to generate code for.
|
||||
virtual void createUser(__isl_take isl_ast_node *UserStmt);
|
||||
};
|
||||
|
||||
void GPUNodeBuilder::createUser(__isl_take isl_ast_node *UserStmt) {
|
||||
isl_ast_node_free(UserStmt);
|
||||
return;
|
||||
}
|
||||
|
||||
namespace {
|
||||
class PPCGCodeGeneration : public ScopPass {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue