Commit graph

831 commits

Author SHA1 Message Date
Jon Riehl
aab2c39fc9 Working on using InternalFunction instances from ast_translate. Fixed bug in AST modulo implementation. 2012-10-19 11:43:45 -05:00
Jon Riehl
9b1b444000 Working on using InternalFunction instances from ast_translate. Fixed bug in AST modulo implementation. 2012-10-18 16:01:32 -05:00
Jon Riehl
b7fba64e53 Merge branch 'master' of github.com:jriehl/numba 2012-10-18 11:33:38 -05:00
Jon Riehl
80437fc077 Got nobitey unit test working using llnumba for wrapper generation. 2012-10-18 10:23:44 -05:00
Jon Riehl
01d0ff4eba Added manual linkage to nobitey when target module isn't the same as the source module. 2012-10-18 10:23:44 -05:00
Siu Kwan Lam
e0d1b94053 Add NamedMetaData 2012-10-16 16:35:20 -05:00
Jon Riehl
ba309ea6c5 Got nobitey unit test working using llnumba for wrapper generation. 2012-10-16 12:36:47 -05:00
Jon Riehl
40b84ffd74 Added manual linkage to nobitey when target module isn't the same as the source module. 2012-10-16 10:18:13 -05:00
Jon Riehl
fe1ba06698 Adding docstrings for some of llnumba. 2012-10-15 15:21:53 -05:00
Jon Riehl
99c9a1f204 Still trying to get whitespace in ast_type_inference merge-worthy. 2012-10-15 15:07:16 -05:00
Jon Riehl
3f0a4a74f7 Moved llnumba out of sandbox. 2012-10-15 15:02:55 -05:00
Mark Florisson
6041f2df84 Add 'numba/minivect/' from commit 'e0f32ee9d15e6f913a8bdcd9214783be2758b7d8'
git-subtree-dir: numba/minivect
git-subtree-mainline: 1b07f0bbc9cf0898320e1ec303a1906c9c91130d
git-subtree-split: e0f32ee9d15e6f913a8bdcd9214783be2758b7d8
2012-10-13 16:38:19 +01:00
Jon Riehl
6d8fbafb54 Moved llnumba out of sandbox. 2012-10-11 15:46:56 -05:00
Siu Kwan Lam
d1fefe5a69 Fix doc about Python3.2 testing 2012-10-10 10:58:02 -05:00
Thomas Kluyver
87ffb437d8 Fix a couple of tests for Python 3 2012-10-10 10:49:48 -05:00
Thomas Kluyver
aba3e208d2 Improve bytes/unicode distinction for reading modules from bitcode & assembly 2012-10-10 10:49:48 -05:00
Thomas Kluyver
1c15a9784b Fix minor problems under Python 3 from running the tests 2012-10-10 10:49:48 -05:00
Siu Kwan Lam
bba30621f1 Allow to_native_object & to_native_assembly to receive an optional fileobj to write to. 2012-10-10 10:47:56 -05:00
Siu Kwan Lam
e42dfd9abb Improve PTX support discovery and make it optional. 2012-10-04 12:59:48 -05:00
Travis E. Oliphant
cdd26cde58 New version number and update README 2012-10-03 21:42:11 -05:00
Mark Wiebe
3d5468a9e2 Changes which allow the tests to run on windows in ipython qtconsole 0.8.3 2012-09-29 14:10:30 +09:00
Mark Wiebe
4d7d665a82 Template overload of <size_t> was incorrect
size_t can be 32-bit or 64-bit, was hardcoded to 32-bit
2012-09-28 17:53:54 +09:00
Mark Wiebe
2af04094a2 Rename nonconformant _TRY and _CATCH_ALL macros
Was conflicting with MSVC headers, for reference why this was
incorrect, see

http://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier

Reserved in the global namespaces:
    identifiers beginning with an underscore
2012-09-28 17:49:23 +09:00
Mark Florisson
f0ad108e2c Fix some stuff
support casting int <-> pointers in llvm_cbuilder
    assign ndarray type to fake PyArrays
2012-09-27 16:30:14 +01:00
Travis E. Oliphant
ab0ce0d49a Update numbapro to handle latest numba changes. 2012-09-27 01:11:35 -05:00
Siu Kwan Lam
323d432847 Implements Jun Koi's suggestion to improve consistency of the api:
* allow to_bitcode to return a string if no fileobj is defined.
* also modify from_bitcode and from_assembly to accept a string.
2012-09-26 10:19:35 -05:00
Siu Kwan Lam
51b22981ff Jun Koi's patch that fixes bad docstring for TargetMachine.emit_object. 2012-09-26 10:19:35 -05:00
Mark Florisson
20a896b206 Start on array expressions 2012-09-24 12:21:12 +01:00
Ilan Schnell
984bfece2d add native asm test 2012-09-22 22:18:39 -05:00
Ilan Schnell
7b0f3cc0c7 move engine builder test 2012-09-22 20:59:03 -05:00
Ilan Schnell
b97dbba105 add target machine test class 2012-09-22 20:52:20 -05:00
Ilan Schnell
bdf9a04e37 add opaque tests 2012-09-22 20:44:01 -05:00
Ilan Schnell
abaeee678f add volatile test 2012-09-22 20:39:00 -05:00
Ilan Schnell
81d6da3ae5 add constant expression test 2012-09-22 20:34:51 -05:00
Siu Kwan Lam
9a51ead50e Merge pull request #24 from dand-oss/master
Change static string in header file to extern
2012-09-21 19:42:22 -07:00
Siu Kwan Lam
b9584e1071 Fix assertion error in python source due to invalid lineno increment inside llvm_cbuilder.translator. 2012-09-21 19:37:10 -07:00
dand-oss
51611517de Change static string in header file to extern
- static will unnecessarily create and intialize a string in the data segment of each compiled cpp that includes it
2012-09-21 21:16:58 -05:00
Siu Kwan Lam
5debe65fe1 all llvmpy PyCapsule objects have a name.
pycap_get should throw when PyCapsule_GetPointer returns NULL.
2012-09-21 14:31:54 -07:00
Mark Florisson
bc03c9a8b7 Fix GC head for debug builds for gufunc fake arrays 2012-09-21 22:46:48 +02:00
Mark Florisson
10b3f188cc Some more progress towards CUDA gufuncs 2012-09-21 22:46:48 +02:00
Siu Kwan Lam
d642bfdfe6 Merge pull request #23 from dand-oss/master
pycap_new() template replaces a bunch of macro code
2012-09-21 13:46:32 -07:00
Mark Florisson
cd9c5e7c79 Use meta to decompile python functions into ASTs 2012-09-21 22:39:48 +02:00
Mark Florisson
b0137289b9 Use meta to decompile python functions into ASTs 2012-09-21 22:39:48 +02:00
dand-oss
0ee70e1a92 pycap_new() template replaces a bunch of macro code 2012-09-21 09:22:03 -05:00
Siu Kwan Lam
0ee5e2e845 Raise TypeError when a function is called with the wrong argument.
Otherwise, llvm will give assertion error which is hard to trackdown.
2012-09-20 15:15:26 -07:00
Siu Kwan Lam
e7ad6c7439 Remove the need to build temporary std::vector. 2012-09-19 14:20:19 -07:00
Siu Kwan Lam
b748d34f48 a simply exercise for tbaa tree building. 2012-09-19 12:31:51 -07:00
Siu Kwan Lam
9767ac4d47 Improve error-handling for PyCapsule_GetPointer and related functions. 2012-09-15 19:10:05 -07:00
Siu Kwan Lam
0079b1de07 Cleanup all memory allocations and their exception handling 2012-09-15 18:34:15 -07:00
Siu Kwan Lam
f17d4f7d62 Add try-catch to all exposed functions 2012-09-15 18:17:16 -07:00