llvm-project/polly/test/CodeGen/GPGPU
Tobias Grosser 6217e18a7d Add preliminary implementation for GPGPU code generation.
Translate the selected parallel loop body into a ptx string and run it with the
cuda driver API. We limit this preliminary implementation to target the
following special test cases:

  - Support only 2-dimensional parallel loops with or without only one innermost
    non-parallel loop.
  - Support write memory access to only one array in a SCoP.

The patch was committed with smaller changes to the build system:

There is now a flag to enable gpu code generation explictly. This was required
as we need the llvm.codegen() patch applied on the llvm sources, to compile this
feature correctly. Also, enabling gpu code generation does not require cuda.
This requirement was removed to allow 'make polly-test' runs, even without an
installed cuda runtime.

Contributed by:  Yabin Hu  <yabin.hwu@gmail.com>

llvm-svn: 161239
2012-08-03 12:50:07 +00:00
..
2d_innermost_parallel.c Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
2d_innermost_parallel.ll Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
3d_innermost_non_parallel.c Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
3d_innermost_non_parallel.ll Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
gpu_no_pure___%for.cond---%for.end18.jscop Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
gpu_no_pure___%for.cond---%for.end18.jscop.transformed+gpu Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
gpu_pure___%for.cond---%for.end8.jscop Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
gpu_pure___%for.cond---%for.end8.jscop.transformed+gpu Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00
lit.local.cfg Add preliminary implementation for GPGPU code generation. 2012-08-03 12:50:07 +00:00