Always use codegen.rewriting.optimize
Pretty much !34 (merged) but with the changes to create_kernel
. Can be closed if not wanted. Leaving it here for archiving purposes.
!34 (merged) has the workflow:
assignments = optimize(assignments, optimizations)
ast = create_kernel(assignments)
Edited by Stephan Seitz