Commit f86c8502 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'fix-custom-fields-cudakernel' into 'master'

Fix create_cuda_kernel to allow CUSTOM_FIELDS to have a different size

See merge request pycodegen/pystencils!83
parents 7899638c 633ce232
......@@ -20,7 +20,7 @@ def create_cuda_kernel(assignments,
all_fields = fields_read.union(fields_written)
read_only_fields = set([ 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()
Supports Markdown
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