Originally a github fork of the llvm-py repository from http://www.mdevan.org/llvm-py/index.html updated to work with LLVM 3.x. Since then it has changed significantly with multiple sub-projects. www.llvmpy.org
Find a file
Siu Kwan Lam 9ccc6782c7 Add doc for parallel_vectorize_from_func.
Add FunctionAlreadyExists exception.
2012-08-08 17:46:20 -07:00
llvm_cbuilder Add doc for parallel_vectorize_from_func. 2012-08-08 17:46:20 -07:00
tests cleanup and doc 2012-08-08 15:17:31 -07:00
parallel_vectorize.py Add doc for parallel_vectorize_from_func. 2012-08-08 17:46:20 -07:00
README.md more cleanup and doc 2012-08-08 15:29:16 -07:00
test_parallel_vectorize.py Fix tests 2012-08-08 17:33:24 -07:00
test_parallel_vectorize_numpy.py Refactor. 2012-08-07 16:55:33 -07:00
test_parallel_vectorize_numpy_2.py Fix tests 2012-08-08 17:33:24 -07:00
test_usecase_1_1.py Add usecase tests 2012-08-08 17:33:34 -07:00
test_usecase_2_1.py Add usecase tests 2012-08-08 17:33:34 -07:00

llvm_cbuilder

A llvm-py Builder wrapper for writing in slightly higher-level constructs. This is aiming for two usecases:

  1. Emit LLVM code in a more human-readable way;

  2. Writing low-level code that you can't do it properly/portably with C, e.g template (generic), atomic operations, memory ordering...

Parallel Vectorize

parallel_vectorize.py implements a set of code generator that bases on llvm_cbuilder to create specialized parallel ufunc.

See test_parallel_vectorize_numpy*.py for testing and demo of the code with the new numpy.fromfunc().