Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
0 replies
18 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
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,173
4 votes
2 answers
207 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
1 vote
0 answers
74 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
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,281
1 vote
1 answer
76 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
0 answers
39 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
0 votes
0 answers
20 views

How to solve this are there any other methods for computation graph to generate?I am currently working on mmdet3d frameworks using pointpillar model to generate the graph for this model
Ganesan Prasanth's user avatar
0 votes
0 answers
90 views

I have a numba jitclass with an instance attribute that is a 1d-array of floats, initialized to be zeros (in the MRE as [0.,0.]). I have a jitted function that creates an instance of said class and ...
Rhombododeka's user avatar
0 votes
1 answer
29 views

In OpenCL, the clLinkProgram() function takes (among other things) A cl_context context handle; An array of cl_program handles of program objects. Now, a cl_program is always created in a context; ...
einpoklum's user avatar
  • 137k
1 vote
0 answers
69 views

In regular software development parlance, we begin with program sources; we then compile them into binary objects; and finally link the objects them into an executable object. And the entire process ...
einpoklum's user avatar
  • 137k
2 votes
1 answer
391 views

In an effort to optimize an existing function used in an optimization algorithm by applying @jit, I encountered some issues. When running the following function: import jax import jax.numpy as jnp ...
KNIGHT's user avatar
  • 21
0 votes
0 answers
6 views

In OpenCL, when you want to compile (not link) a kernel for some target devices, you call: cl_int clCompileProgram( cl_program program, cl_uint num_devices, const cl_device_id* device_list,...
einpoklum's user avatar
  • 137k
20 votes
1 answer
2k views

I'm not compiling anything to native, in other words, I'm not using native-image from GraalVM. I'm just running the same Java class (same Java bytecode) with GraalVM and then running the same Java ...
user avatar
1 vote
1 answer
402 views

I want to implement a neural network with multiple LSTM gates stacked one after the other.I set the hidden states to 0, as suggested here. When I try to run the code, I get JaxTransformError: Jax ...
Dan Leonte's user avatar
1 vote
1 answer
89 views

This is a follow-up to my previous question. I am implementing a Parameterized Quantum Circuit as a Quantum Neural Network, where the optimization loop is jitted. Although there's no error, everything ...
Sup's user avatar
  • 331
4 votes
1 answer
568 views

I'm getting a JIT session error when I'm running my swift program in vscode. How do I run this without the error? My terminal [Running] swift "d:\Metropolia\Swift_new\demo.swift" JIT session ...
Siddarth Singotam's user avatar
1 vote
0 answers
131 views

I am trying to get the basics of multiprocessing in python. I have a quite complex routine that takes a large array (c.a 1Gb) and a double as inputs and returns a double. The large array is not going ...
user415893's user avatar
1 vote
1 answer
121 views

I have a function compiled under the 'njit' framework in Numba. It looks like this: import numpy as np from numba import njit, types, prange from numba.typed import List @njit(cache=CACHE_FLAG) def ...
Varun Maheshwari's user avatar
0 votes
0 answers
43 views

I have two dumps from production and both of them JIT the method System.ComponentModel.Composition.Hosting.CompositionLock.LockComposition from the System.ComponentModel.Composition.dll assembly like ...
mark's user avatar
  • 63.6k
0 votes
1 answer
85 views

Getting JIT compilation of template error while creating dynamic angular HTML, refer the below screenshot. Angular HTML code not resolving. Here is the stackblitz code: Steps to reproduce: Click on ...
Sathya's user avatar
  • 51
2 votes
2 answers
651 views

I'm writing an interpolation routine and have a dictionary which stores the function values at the fitting points. Ideally, the dictionary keys would be 2D Numpy arrays of the fitting point ...
LordCat's user avatar
  • 528
1 vote
0 answers
25 views

From https://llvmlite.readthedocs.io/en/latest/user-guide/binding/examples.html, I made up the following code, aiming to understand the procedure of Numba JIT. from __future__ import print_function ...
Lingbo Kong's user avatar
0 votes
0 answers
55 views

I want to use LLVM to JIT compile some code in my game using the LLVM C/C++ API. The JIT compiled functions should be able to effect the physics of the world, which is handled by bullet3. To do so I ...
Lessthan314's user avatar
0 votes
2 answers
1k views

I am upgrading an old project of mine from Angular ~7 to ~18. After fixing ALL the TS warnings and errors, the project compiles successfully. However, when I run npm start and hit localhost:4200 I am ...
xinu3's user avatar
  • 13

1
2 3 4 5
41