Commit graph

  • 2799e9f452 Test for InlineAsm Siu Kwan Lam 2012-11-01 11:42:30 -05:00
  • b9d05bb6fe Can now modify called_function of CallOrInvokeInstruction Siu Kwan Lam 2012-11-01 11:41:28 -05:00
  • 507ff73061 Add InlineAsm Siu Kwan Lam 2012-10-31 16:41:10 -05:00
  • bd377de198 Fix cbuilder CDefinition specialization design and magic Mark Florisson 2012-10-29 14:16:13 +00:00
  • 6133b643d8 Fix PTX lib detection logic on windows Mark Wiebe 2012-10-26 15:33:42 -07:00
  • 87a44e3117 Get array slicing and expressions compiling Mark Florisson 2012-10-26 20:40:06 +01:00
  • daa62d9f78 Add address-space control to global-variable Siu Kwan Lam 2012-10-26 14:08:33 -05:00
  • 6d19096438 Prototyped non-Python string slicing implementation. Jon Riehl 2012-10-24 17:14:32 -05:00
  • 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. Jon Riehl 2012-10-23 14:35:07 -05:00
  • 2b2407b82f Merge branch 'master' of github.com:jriehl/numba Jon Riehl 2012-10-19 17:12:13 -05:00
  • 47cd581ca5 Working on using InternalFunction instances from ast_translate. Fixed bug in AST modulo implementation. Jon Riehl 2012-10-18 16:01:32 -05:00
  • d781e83bd1 can now clone modules Siu Kwan Lam 2012-10-19 16:18:24 -05:00
  • 23a5dd0dff Merge branch 'master' of github.com:jriehl/numba Jon Riehl 2012-10-19 11:44:01 -05:00
  • aab2c39fc9 Working on using InternalFunction instances from ast_translate. Fixed bug in AST modulo implementation. Jon Riehl 2012-10-18 16:01:32 -05:00
  • 9b1b444000 Working on using InternalFunction instances from ast_translate. Fixed bug in AST modulo implementation. Jon Riehl 2012-10-18 16:01:32 -05:00
  • b7fba64e53 Merge branch 'master' of github.com:jriehl/numba Jon Riehl 2012-10-18 11:33:38 -05:00
  • 80437fc077 Got nobitey unit test working using llnumba for wrapper generation. Jon Riehl 2012-10-16 12:36:47 -05:00
  • 01d0ff4eba Added manual linkage to nobitey when target module isn't the same as the source module. Jon Riehl 2012-10-16 10:18:13 -05:00
  • e0d1b94053 Add NamedMetaData Siu Kwan Lam 2012-10-16 16:35:20 -05:00
  • ba309ea6c5 Got nobitey unit test working using llnumba for wrapper generation. Jon Riehl 2012-10-16 12:36:47 -05:00
  • 40b84ffd74 Added manual linkage to nobitey when target module isn't the same as the source module. Jon Riehl 2012-10-16 10:18:13 -05:00
  • fe1ba06698 Adding docstrings for some of llnumba. Jon Riehl 2012-10-15 15:21:53 -05:00
  • 99c9a1f204 Still trying to get whitespace in ast_type_inference merge-worthy. Jon Riehl 2012-10-15 15:07:16 -05:00
  • 3f0a4a74f7 Moved llnumba out of sandbox. Jon Riehl 2012-10-11 15:46:56 -05:00
  • 6041f2df84 Add 'numba/minivect/' from commit 'e0f32ee9d15e6f913a8bdcd9214783be2758b7d8' Mark Florisson 2012-10-13 16:38:19 +01:00
  • 6d8fbafb54 Moved llnumba out of sandbox. Jon Riehl 2012-10-11 15:46:56 -05:00
  • d1fefe5a69 Fix doc about Python3.2 testing Siu Kwan Lam 2012-10-10 10:58:02 -05:00
  • 87ffb437d8 Fix a couple of tests for Python 3 Thomas Kluyver 2012-09-30 15:08:20 +01:00
  • aba3e208d2 Improve bytes/unicode distinction for reading modules from bitcode & assembly Thomas Kluyver 2012-09-30 15:07:51 +01:00
  • 1c15a9784b Fix minor problems under Python 3 from running the tests Thomas Kluyver 2012-09-30 14:40:32 +01:00
  • bba30621f1 Allow to_native_object & to_native_assembly to receive an optional fileobj to write to. Siu Kwan Lam 2012-10-10 10:47:56 -05:00
  • e42dfd9abb Improve PTX support discovery and make it optional. Siu Kwan Lam 2012-10-04 12:59:48 -05:00
  • cdd26cde58 New version number and update README Travis E. Oliphant 2012-10-03 21:42:11 -05:00
  • 3d5468a9e2 Changes which allow the tests to run on windows in ipython qtconsole 0.8.3 Mark Wiebe 2012-09-29 14:10:30 +09:00
  • 4d7d665a82 Template overload of <size_t> was incorrect Mark Wiebe 2012-09-28 17:53:54 +09:00
  • 2af04094a2 Rename nonconformant _TRY and _CATCH_ALL macros Mark Wiebe 2012-09-28 17:49:23 +09:00
  • f0ad108e2c Fix some stuff support casting int <-> pointers in llvm_cbuilder assign ndarray type to fake PyArrays Mark Florisson 2012-09-27 16:30:14 +01:00
  • ab0ce0d49a Update numbapro to handle latest numba changes. Travis E. Oliphant 2012-09-27 01:11:35 -05:00
  • 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. Siu Kwan Lam 2012-09-26 10:19:11 -05:00
  • 51b22981ff Jun Koi's patch that fixes bad docstring for TargetMachine.emit_object. Siu Kwan Lam 2012-09-26 10:03:13 -05:00
  • 20a896b206 Start on array expressions Mark Florisson 2012-09-24 12:21:12 +01:00
  • 984bfece2d add native asm test Ilan Schnell 2012-09-22 22:18:39 -05:00
  • 7b0f3cc0c7 move engine builder test Ilan Schnell 2012-09-22 20:59:03 -05:00
  • b97dbba105 add target machine test class Ilan Schnell 2012-09-22 20:52:20 -05:00
  • bdf9a04e37 add opaque tests Ilan Schnell 2012-09-22 20:44:01 -05:00
  • abaeee678f add volatile test Ilan Schnell 2012-09-22 20:39:00 -05:00
  • 81d6da3ae5 add constant expression test Ilan Schnell 2012-09-22 20:34:51 -05:00
  • 9a51ead50e Merge pull request #24 from dand-oss/master Siu Kwan Lam 2012-09-21 19:42:22 -07:00
  • b9584e1071 Fix assertion error in python source due to invalid lineno increment inside llvm_cbuilder.translator. Siu Kwan Lam 2012-09-21 19:37:10 -07:00
  • 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 dand-oss 2012-09-21 21:16:58 -05:00
  • 5debe65fe1 all llvmpy PyCapsule objects have a name. pycap_get should throw when PyCapsule_GetPointer returns NULL. Siu Kwan Lam 2012-09-21 14:31:54 -07:00
  • bc03c9a8b7 Fix GC head for debug builds for gufunc fake arrays Mark Florisson 2012-09-20 22:23:09 +02:00
  • 10b3f188cc Some more progress towards CUDA gufuncs Mark Florisson 2012-09-18 22:29:23 +01:00
  • d642bfdfe6 Merge pull request #23 from dand-oss/master Siu Kwan Lam 2012-09-21 13:46:32 -07:00
  • cd9c5e7c79 Use meta to decompile python functions into ASTs Mark Florisson 2012-09-21 22:39:48 +02:00
  • b0137289b9 Use meta to decompile python functions into ASTs Mark Florisson 2012-09-21 22:39:48 +02:00
  • 0ee70e1a92 pycap_new() template replaces a bunch of macro code dand-oss 2012-09-17 07:32:08 -05:00
  • 0ee5e2e845 Raise TypeError when a function is called with the wrong argument. Otherwise, llvm will give assertion error which is hard to trackdown. Siu Kwan Lam 2012-09-20 15:15:26 -07:00
  • e7ad6c7439 Remove the need to build temporary std::vector. Siu Kwan Lam 2012-09-19 14:20:19 -07:00
  • b748d34f48 a simply exercise for tbaa tree building. Siu Kwan Lam 2012-09-19 12:31:51 -07:00
  • 9767ac4d47 Improve error-handling for PyCapsule_GetPointer and related functions. Siu Kwan Lam 2012-09-15 19:10:05 -07:00
  • 0079b1de07 Cleanup all memory allocations and their exception handling Siu Kwan Lam 2012-09-15 18:34:15 -07:00
  • f17d4f7d62 Add try-catch to all exposed functions Siu Kwan Lam 2012-09-15 18:17:16 -07:00
  • d77c3a61e1 Better error handling for PyCapsule_GetPointer Siu Kwan Lam 2012-09-14 19:28:21 -07:00
  • 56796cad61 Follow up on pull request 21. Since PyCapsule_GetPointer returns NULL on error, we should check if the list element is Py_None. Siu Kwan Lam 2012-09-14 18:42:49 -07:00
  • f9efc23e2d Merge pull request #21 from laanwj/2012_09_metadata_none Siu Kwan Lam 2012-09-14 18:18:03 -07:00
  • c94e852c0e MetaData operands can be None. Handle this. Wladimir J. van der Laan 2012-09-14 16:59:30 +02:00
  • 53d782bd39 update setup.py Ilan Schnell 2012-09-13 21:23:40 -05:00
  • 5df7c4d159 improve test to not use hardcoded test directory Ilan Schnell 2012-09-13 10:57:48 -05:00
  • 77d199e60d add atomic tests Ilan Schnell 2012-09-12 17:26:03 -05:00
  • 211f273000 add attribute test Ilan Schnell 2012-09-12 16:26:52 -05:00
  • e6bfbca6e8 update readme Ilan Schnell 2012-09-12 15:55:36 -05:00
  • 8af02c5a7e add the assembly test Ilan Schnell 2012-09-12 15:50:29 -05:00
  • b8dd256e11 add intrinsic tests to test module Ilan Schnell 2012-09-12 15:46:20 -05:00
  • 2b9ac16733 move issue 10 test case into common tests Ilan Schnell 2012-09-12 15:34:41 -05:00
  • 6d60c4a469 add inline test to common test suite Ilan Schnell 2012-09-12 15:18:12 -05:00
  • 28c659ec90 Merge pull request #20 from laanwj/2012_09_module_named_metadata Ilan Schnell 2012-09-12 12:27:55 -07:00
  • e2d8079b93 Support MetaDataString, and correctly represent MetaData Values in _make_value Wladimir J. van der Laan 2012-09-12 21:11:33 +02:00
  • 7f69beb258 Access to MetaData operands Wladimir J. van der Laan 2012-09-12 20:58:53 +02:00
  • 6e6bd1ea71 Add support for module named metadata Wladimir J. van der Laan 2012-09-12 20:00:25 +02:00
  • 5ee6bba66b Fix invalid prototype after switches to size_t instead of unsigned int. Siu Kwan Lam 2012-09-10 17:22:20 -07:00
  • db00a6b8de C++ cleanup of old C conventions - prefer C++ casting to unsafe C style casts - use templates to encapsulate casting - prefer new to malloc - apply const when possible - decalare variables as near to use as possible dand-oss 2012-09-09 19:57:26 -05:00
  • 47baa49160 Merge pull request #18 from laanwj/2012_09_constantint_value Siu Kwan Lam 2012-09-10 16:41:19 -07:00
  • cc12434f57 Add thread local Siu Kwan Lam 2012-09-10 16:37:16 -07:00
  • 16b833be2b ENH: we should use llvmpy consistently as the project name Ilan Schnell 2012-09-09 22:42:22 -05:00
  • 41953602bf Add ways to get the value of a ConstantInt Wladimir J. van der Laan 2012-09-09 11:57:42 +02:00
  • 3b22d5accf Add wrapping constructor for (signed) long long Wladimir J. van der Laan 2012-09-09 11:34:46 +02:00
  • 8a159b35f0 refactor llvm_cbuilder Siu Kwan Lam 2012-09-07 17:38:56 -07:00
  • af44641bb9 add noalias attribute to parameters Siu Kwan Lam 2012-09-07 15:07:42 -07:00
  • 1e4633c44d add invariant variable Siu Kwan Lam 2012-09-07 14:13:04 -07:00
  • b941ae5f1f Use non-temporal hint at memory store for vectorizer. Note: LLVM optimizer is smart enough to not use NT write if it is slower. Siu Kwan Lam 2012-09-06 18:25:09 -07:00
  • fbb7208b85 add invariant load add related test Siu Kwan Lam 2012-09-06 20:00:01 -07:00
  • 82117d899e add support for metadata. add related test. Siu Kwan Lam 2012-09-06 15:47:23 -07:00
  • 8505256510 Inline ufunc kernel in vectorize. (Better io throughput) Siu Kwan Lam 2012-09-04 10:05:24 -07:00
  • 78cde30883 Revive inline_function() Siu Kwan Lam 2012-09-03 22:24:09 -07:00
  • c439c2fb40 Merge pull request #16 from laanwj/2012_08_calledfunction Siu Kwan Lam 2012-09-02 14:34:05 -07:00
  • 5bd4991f0b Implement property CallOrInvokeInstruction.called_function Wladimir J. van der Laan 2012-09-02 13:22:00 +02:00
  • 5d14461c84 Fix ConstantExpr opcode to use C++ enum values. Note: C++ opcode is different from C opcode values. Add ConstantExpr opcode name. Add test for these. Siu Kwan Lam 2012-09-01 20:53:33 -07:00
  • 76c60adbca Merge pull request #15 from laanwj/2012_08_constantexpr_opcode Siu Kwan Lam 2012-09-01 20:10:44 -07:00
  • c033ba02a4 Implement property ConstantExpr.opcode Wladimir J. van der Laan 2012-09-01 17:31:08 +02:00