Skip to content
Snippets Groups Projects
Commit eeee9868 authored by Russel Arbore's avatar Russel Arbore
Browse files

whoops

parent d71ec87a
No related branches found
No related tags found
1 merge request!199Fix type layout
Pipeline #201868 passed
This commit is part of merge request !199. Comments created here will be created in the context of that merge request.
......@@ -2053,7 +2053,7 @@ namespace cg = cooperative_groups;
Type::Array(element_type, extents) => {
assert!(num_fields.is_none());
let array_size = multiply_dcs(extents);
let elem_align = self.get_alignment(type_id);
let elem_align = self.get_alignment(*element_type);
format!(
"(({} + {} - 1) / {} * {}) * {}",
self.get_size(*element_type, None),
......
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