Skip to content
Commit 5851b04b authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[bugfix] Avoid vanishing predicates

Previously predicates, that could be hoisted up to a CallKernel
schedule item were silently dropped by the DummyHostASTBuilder.
This commit fixes the issue, by introducing a property whether
an AST builder is able to implement conditionals. If not so, the
hoisting of predicates is turned off (aka delayed until device
code is generated).
parent 095644a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment