[NVPTX] Add preliminary intrinsics and codegen support for textures/surfaces

Description

[NVPTX] Add preliminary intrinsics and codegen support for textures/surfaces

This commit adds intrinsics and codegen support for the surface read/write and texture read instructions that take an explicit sampler parameter. Codegen operates on image handles at the PTX level, but falls back to direct replacement of handles with kernel arguments if image handles are not enabled. Note that image handles are explicitly disabled for all target architectures in this change (to be enabled later).

Details

Committed
jholewinskiApr 9 2014, 8:39 AM
Parents
rL205906: [NVPTX] Add support for addrspacecast in global variable initializers…
Branches
Unknown
Tags
Unknown