Skip to content
Snippets Groups Projects
Commit 2222aa92 authored by git_unspecified's avatar git_unspecified
Browse files

Clean-up

parent 5e4868a1
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,6 @@ void stencil(HpvmBufHeader<LNode>* buf_header, size_t header_size) {
root->next->val = 100;
while (root) {
root->delta(1);
// root->val = (size_t)root->next;
root = root->next;
}
......@@ -94,21 +93,6 @@ int main(int argc, char* argv[]) {
host_buf.buf->total_size(), 1, host_buf.buf,
host_buf.buf->total_size());
__hetero_wait(DFG);
#else
/*
auto* buf_header = host_buf.buf;
buf_header->to_absolute_pointer(buf_header->get_obj_start());
LNode* root = (LNode*)buf_header->get_obj_start();
while (root) {
root->delta(1);
// root->val = (size_t)root->next;
root = root->next;
}
buf_header->to_relative_pointer(buf_header->get_obj_start());
*/
#endif
std::cout << "After kernel in buffer:\n";
......
......@@ -25,6 +25,7 @@
using byte = char;
// In a separate file ----------------------
// TODO: move to separate file to make this global
static std::unordered_map<void*, std::pair<const std::type_info*, size_t>>
hpvm_allocation_record;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment