-
Notifications
You must be signed in to change notification settings - Fork 7
Compilation versus Interpretation #3
Comments
I have not looked at the logic closely or lately, and I know there's been a concern over compilation time since the switch from LLVM 3.3 to 3.7, so I wouldn't be surprised if the logic has become more biased towards interpretation. I had the impression, perhaps mistaken, that the callee in a function call is always compiled. For poking around with
|
Ok - I've still been playing around with JuliaLang/julia@master...rprechelt:rp/vectorize Yet, I still cannot get Julia to evaluate my expression through
or
Clearly, I am missing something very obvious with regards to Julia codegen - any advice or guidance here? @vtjnash |
In that vein, might it be worth using this GSoC opportunity to provide a C++ method of accessing the If we built a method to allow additional annotations to be defined during the Julia build process, so that a user could add their own C++ checks without modifying |
I'm just guessing, but perhaps the problem is the scope in which |
I've tried experimenting with that; whenever I place an expression at global scope, |
I've tried many variants of the below:
under the understanding that when I run I'm somewhat stuck on this right now - been trying for a few days.. Apologies for all the simple questions - still getting my head around codegen. |
@eval vectorizetest() = $(Expr(:vectorize)) For a similar example, you could take a look at how simdloop deals with this for marking specific loops. If you just need to mark the whole function, putting it in an |
@ArchRobison
I was wondering if you had any insight into the conditions that would cause Julia to interpret an expression as opposed to running it through the JIT compiler - I've been struggling with getting Julia to compile the expressions (so I can access LLVM through
codegen.cpp
) versus running the code throughinterpreter.cpp
. I've been trying to make some sense oftoplevel.cpp
to figure this out, however the Julia DSL (that I am still getting accustomed to) makes things slow going. I also can't find any info on it anywhere in the devdocs beyondI've been following the general structure of your
@simd
implementation for what's it is worth.The text was updated successfully, but these errors were encountered: