mirror of
https://github.com/exaloop/codon.git
synced 2025-06-03 15:03:52 +08:00
* Upgrade to LLVM 15 (WIP) * Call `setPresplitCoroutine()` on coro LLVM funcs * Use new pass manager * Update deps * Update docs * Fix exceptions on M1 * Add libunwind * Use Orc and JITLink for "codon run" * JITLink integration * Fix callback * Fix strbuf, fix GC root registration * Fix test init * Fix llvm function * Fix pickle, float atomics * Add TargetLibraryAnalysis * Use new LLVM pass manager in GPU codegen * Fix libunwind linking * Fix libunwind * Fix GPU passes * Don't link libunwind explicitly * Bump version * Update plugins for new pass manager * Fix bash error * Fix GPU GV extraction * Move simd module to experimental folder * Update file read * Add benchmark programs * Add dynamic tuple * Fix parser tuple slicing bug * Make DynamicTuple interoperable with Tuple * Fix DynamicTuple GPU interop * Dockerize builds * Simplify CMake * Revert "Simplify CMake" This reverts commit 08d2920349b5033750b54b4fb7aaa9bac264b750. Co-authored-by: Ibrahim Numanagić <ibrahimpasa@gmail.com>
48 lines
1.3 KiB
Python
48 lines
1.3 KiB
Python
# (c) 2022 Exaloop Inc. All rights reserved.
|
|
|
|
# Core library
|
|
|
|
from internal.attributes import *
|
|
from internal.types.ptr import *
|
|
from internal.types.str import *
|
|
from internal.types.int import *
|
|
from internal.types.bool import *
|
|
from internal.types.array import *
|
|
from internal.types.error import *
|
|
from internal.types.intn import *
|
|
from internal.types.float import *
|
|
from internal.types.byte import *
|
|
from internal.types.generator import *
|
|
from internal.types.optional import *
|
|
from internal.types.slice import *
|
|
from internal.types.range import *
|
|
from internal.types.complex import *
|
|
from internal.internal import *
|
|
|
|
__argv__ = Array[str](0)
|
|
|
|
from internal.types.strbuf import strbuf as _strbuf
|
|
from internal.types.collections.list import *
|
|
from internal.types.collections.set import *
|
|
from internal.types.collections.dict import *
|
|
from internal.types.collections.tuple import *
|
|
|
|
# Extended core library
|
|
|
|
import internal.c_stubs as _C
|
|
from internal.builtin import *
|
|
from internal.builtin import _jit_display
|
|
from internal.str import *
|
|
|
|
from internal.sort import sorted
|
|
|
|
from openmp import Ident as __OMPIdent, for_par
|
|
from gpu import _gpu_loop_outline_template
|
|
from internal.file import File, gzFile, open, gzopen
|
|
from pickle import pickle, unpickle
|
|
from internal.dlopen import dlsym as _dlsym
|
|
import internal.python
|
|
|
|
if __py_numerics__:
|
|
import internal.pynumerics
|