Siu Kwan Lam
2799e9f452
Test for InlineAsm
2012-11-01 11:42:30 -05:00
Siu Kwan Lam
b9d05bb6fe
Can now modify called_function of CallOrInvokeInstruction
2012-11-01 11:42:10 -05:00
Siu Kwan Lam
507ff73061
Add InlineAsm
2012-10-31 16:41:10 -05:00
Mark Florisson
bd377de198
Fix cbuilder CDefinition specialization design and magic
2012-10-29 14:16:13 +00:00
Mark Wiebe
6133b643d8
Fix PTX lib detection logic on windows
2012-10-26 15:33:42 -07:00
Mark Florisson
87a44e3117
Get array slicing and expressions compiling
2012-10-26 20:40:06 +01:00
Siu Kwan Lam
daa62d9f78
Add address-space control to global-variable
2012-10-26 14:08:33 -05:00
Jon Riehl
6d19096438
Prototyped non-Python string slicing implementation.
2012-10-24 17:14:32 -05:00
Jon Riehl
c8e44702cb
Got AST translation working for numba.tests.test_cstring.
...
Modified AST type inference to use Python API for string to number conversion (was using atol/atof, which suppress Python errors).
Tweaked numba.functions.CStringSlice2, and added numba.functions.CStringSlice2Len (currently unused).
Added support for PyInt_FromString and PyFloat_FromString in numba.functions.
Modified llnumba slicing code to type properly on 64-bit systems.
Changed string slice support in numba.transforms to use Python slicing by default.
2012-10-23 14:35:07 -05:00
Jon Riehl
2b2407b82f
Merge branch 'master' of github.com:jriehl/numba
...
Conflicts:
numba/functions.py
2012-10-19 17:12:13 -05:00
Jon Riehl
47cd581ca5
Working on using InternalFunction instances from ast_translate. Fixed bug in AST modulo implementation.
2012-10-19 17:10:46 -05:00
Siu Kwan Lam
d781e83bd1
can now clone modules
2012-10-19 16:18:24 -05:00
Jon Riehl
23a5dd0dff
Merge branch 'master' of github.com:jriehl/numba
2012-10-19 11:44:01 -05:00
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