search for: cudagenerator

Displaying 3 results from an estimated 3 matches for "cudagenerator".

Did you mean: codegenerator
2012 May 08
0
[LLVMdev] [PATCH][RFC] Add llvm.codegen Intrinsic To Support Embedded LLVM IR Code Generation
...separate IR files, invokes llc on them and then > links them back together. I want clang to automatically create executables that use CUDA/OpenCL to offload core computations (from plain C code). This should be implemented in an external LLVM-IR optimization pass. clang -Xclang -load -Xclang CUDAGenerator.so file.c -O3 -mllvm -offload-cuda The very same should work for Pure, dragonegg and basically any compiler based on LLVM. So I do not want to change clang at all (except of possibly linking to -lcuda). The llvm.codegen intrinsic allows this, without requiring changes to any of the external to...
2012 May 08
2
[LLVMdev] [PATCH][RFC] Add llvm.codegen Intrinsic To Support Embedded LLVM IR Code Generation
Justin Holewinski <justin.holewinski at gmail.com> writes: > I believe the point Tobias is trying to make is that he wants to > retain the ability to pipe modules between tools and not worry about > the modules ever hitting disk, e.g. > > opt -load GPUOptimizer.so -gpu-opt | llc -march=x86 > where the module coming in to opt is just unoptimized host code, and the module
2012 May 11
1
[LLVMdev] [PATCH][RFC] Add llvm.codegen Intrinsic To Support Embedded LLVM IR Code Generation
...l. On May 8, 2012, at 11:49 AM, Tobias Grosser wrote: > I want clang to automatically create executables that use CUDA/OpenCL to > offload core computations (from plain C code). This should be > implemented in an external LLVM-IR optimization pass. > > clang -Xclang -load -Xclang CUDAGenerator.so file.c -O3 -mllvm -offload-cuda > > The very same should work for Pure, dragonegg and basically any compiler > based on LLVM. So I do not want to change clang at all (except of > possibly linking to -lcuda). Ok, that *is* an interesting use case. It would be great for LLVM to su...