These two constructs are very simple and similar, and only support 3 different clauses, two of which are already implemented. This patch adds AST nodes for both constructs, and leaves the device_num clause unimplemented, but enables the other two.
This clause just takes an 'int expr', which is not optional. This patch implements the clause on compute constructs.