Questions tagged [autojit]

4 questions
3
votes
0 answers

How to use @autojit with high precision floating point

I have been busy with my mendelbrot set generator program, which currently works with autojit (gpu parallelism) to increase performance. The thing is, it works only while floating-point is precise enough. Is there any way (or library) to increase…
3
votes
1 answer

Can I compile numba in the setup phase of a unit test?

I used numba to accelerate parts of my Python code using the autojit decorator. Tests pass and %timeit shows that the code is indeed accelerated. The first execution is slow because, I assume, numba is compiling the code. Makes sense. But when I run…
Dan Allan
  • 34,073
  • 6
  • 70
  • 63
0
votes
1 answer

Numba freevars using @autojit

I am using numba @autojit decorator. What does the following error mean? ByteCodeSupportError: does not support freevars What are freevars?
sanguineturtle
  • 1,425
  • 2
  • 15
  • 29
-1
votes
1 answer

Different computational time for the same Type Float32 in CUDA

I compute a simple matrix multiplication with the following script: import numpy as np import math from timeit import default_timer as timer from numba import cuda from numba import * from numba import autojit @autojit def mult2(a,b): return…
Andy
  • 1,072
  • 2
  • 19
  • 33