|
@@ -45,7 +45,8 @@ def main():
|
|
|
if args.burst not in allowed_bursts:
|
|
|
raise ValueError('Specified burst mode `{}` must be one of `{}`'.format(args.burst,
|
|
|
allowed_bursts))
|
|
|
- in_tmpl, comp_tmpl, ker_tmpl = open(args.filename, 'r').read().split('\n%nl\n')
|
|
|
+ in_tmpl = "read_only image2d_t projection_{},"
|
|
|
+ comp_tmpl, ker_tmpl = open(args.filename, 'r').read().split('\n%nl\n')
|
|
|
print fill_kernel_template(in_tmpl, comp_tmpl, ker_tmpl, args.burst)
|
|
|
|
|
|
|