Skip to main content
1 vote
1 answer
123 views

In jax, you can donate a function argument to save the execute memory and time, if this argument is not used any more. If you know that one of the inputs is not needed after the computation, and if ...
zhixin's user avatar
  • 194
-1 votes
1 answer
124 views

I am currently working on GPU optimized simulations. For that, I have a function where the head looks like this: import jax from functools import partial @partial(partial, jax.jit, static_argnums=(2,...
alo bre's user avatar
  • 21
Advice
1 vote
1 replies
50 views

Disclaimer: I'm expecting that the answer to this question will be that it can't be done, but I'm asking as a just in case. I am working on a JIT'd language with the compiler and runtime implemented ...
idka's user avatar
  • 131
2 votes
1 answer
121 views

I have a recursively defined function my_func that is jitted using jax.jit from the jax library. It is defined below: # Imports import jax import jax.numpy as jnp from functools import partial import ...
Ben's user avatar
  • 539
3 votes
1 answer
51 views

Let look at the log from XX:+PrintCompilation: Time Tier Method 11:20:24 3 m 11:24:14 3 m made not entrant 11:24:15 2 ...
Gilgamesz's user avatar
  • 5,193
3 votes
2 answers
376 views

I am trying to port some code from linux to windows. I need to assemble a jump to an absolute address, using nasm, such that the same bytes will jump to the same address, no matter where the code is ...
pm100's user avatar
  • 50.7k
4 votes
2 answers
224 views

I've run some benchmarks on Math.Log, System.Numerics.Vector.Log, System.Runtime.Intrinsics.Vector128.Log, Vector256.Log and Vector512.Log and the results were pretty surprising to me. I was expecting ...
user31260114's user avatar
0 votes
0 answers
135 views

The tiered steps provided by Oracle are: It seems to me that... I'd be a reasonable assumption to think that optimizations should occur with methods in isolation (detached from its call-site context),...
Delark's user avatar
  • 1,385
1 vote
0 answers
77 views

Description I have a deterministic program that uses jax, and is heavy on linear algebra operations. I ran this code on CPU, using three different CPUs. Two MacOs Systems (one on Sequoia (M1 Pro), ...
yousef elbrolosy's user avatar
0 votes
1 answer
204 views

I'm intresed how and in what cases V8 perform inlining. I know that V8 can inline functions to eliminate call cost, but i dont konw the rules for it to happen. I got how it works in obvious cases, ...
vanilla's user avatar
  • 145
3 votes
0 answers
85 views

I understand that Python interpreter will compiles source code during parsing just like what compiler for C does, which makes me curious why Python debugger can honor the editing during execution? Say,...
PkDrew's user avatar
  • 2,301
0 votes
1 answer
50 views

The OpenCL API has one object which is sort of a "kitchen sink" for a lot of stuff: The program (with handle type cl_program). It can hold: A textual program source ( ...
einpoklum's user avatar
  • 138k
1 vote
1 answer
80 views

I am trying to pass a list of jitclass objects to a jitted function, but I've been unable to find a suitable type signature for njit. I don't understand well how Numba thinks, so I would really ...
Squishium's user avatar
1 vote
1 answer
121 views

as far as my understanding go, in v8 if property access occurs on object with persistent shape jit optimize it to prety much struct acces that is just offsetting a pointer but is the same rules ...
vanilla's user avatar
  • 145
1 vote
0 answers
40 views

I'm trying to implement exceptions in a language with llvm jit, Well not exceptions really but a panic system, that unwinds the stack to specific point and destroys local variables, I chose to use ...
MindOfTony's user avatar

15 30 50 per page
1
2 3 4 5
135