Dynamically select `-cl-std` Build Option for `get_(global|local)_linear_id` (#876)

* Dynamically select the build option `-cl-std` for the
`get_(global|local)_linear_id()` builtin based on the device version
of the driver.
3 files changed