Fix integration pipeline
Compare changes
- Markus Holzer authored
+ 5
− 0
@@ -133,6 +133,11 @@ def created_indexed_cuda_kernel(assignments: NodeCollection, config: CreateKerne
This MR fixes several issues with the integration pipeline.
Fixes an oversight introduced in !344 (merged). The issue was with expressions like:
a: scalar float = CastFunc(b: vector float, float)
The mentioned MR used get_type_of_expression
to determine whether an expression will be vectorized.
That works in most cases due to type collation but fails for CastFuncs
, which are always vectorized.
This MR replaces get_type_of_expression
by a small helper function that checks whether an expression is entirely scalar or requires additional vector casts.