HomePhabricator

[OpenCL] Refactor read_only/write_only pipes.

Description

[OpenCL] Refactor read_only/write_only pipes.

This adds the access qualifier to the Pipe Type, rather than using a class
hierarchy.

It also fixes mergeTypes for Pipes, by disallowing merges. Only identical
pipe types can be merged. The test case in invalid-pipes-cl2.0.cl is added
to check that.

Details

Committed
joeyDec 1 2016, 3:30 AM
Parents
rL288331: Remove a hack from the Android toolchain file
Branches
Unknown
Tags
Unknown