Skip to content

Commit

Permalink
Fix for missing attr.type
Browse files Browse the repository at this point in the history
  • Loading branch information
td-mpcdf committed Sep 19, 2024
1 parent 10cc9dd commit 4c821db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gtensor/backend_hip.h
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class backend_ops<gt::space::hip>
case hipMemoryTypeDevice: return memory_type::device;
case hipMemoryTypeUnified: return memory_type::managed;
default:
fprintf(stderr, "ERROR: unknown type %d.\n", attr.type);
fprintf(stderr, "ERROR: unknown type %d.\n", memoryType);
std::abort();
}
}
Expand Down

0 comments on commit 4c821db

Please sign in to comment.