Skip to content
Snippets Groups Projects
Commit 633ce232 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix create_cuda_kernel to allow CUSTOM_FIELDS to have a different size

parent f056dbd2
1 merge request!83Fix create_cuda_kernel to allow CUSTOM_FIELDS to have a different size
......@@ -20,7 +20,7 @@ def create_cuda_kernel(assignments,
all_fields = fields_read.union(fields_written)
read_only_fields = set([f.name for f in fields_read - fields_written])
buffers = set([f for f in all_fields if FieldType.is_buffer(f)])
buffers = set([f for f in all_fields if FieldType.is_buffer(f) or FieldType.is_custom(f)])
fields_without_buffers = all_fields - buffers
field_accesses = set()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment