You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window, believe that. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RuntimeError: In goddamn function void opencl::fft_inplace #255
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-7-a744aa37e707> in <module>
----> 1 test = af.signal.fft(random_signal)
~/miniconda3/envs/af/lib/python3.7/site-packages/arrayfire/signal.py in fft(signal, dim0, scale)
177
178 output = Array()
--> 179 safe_call(backend.get().af_fft(c_pointer(output.arr), signal.arr, c_double_t(scale), c_dim_t(dim0)))
180 return output
181
~/miniconda3/envs/af/lib/python3.7/site-packages/arrayfire/util.py in safe_call(af_error)
77 err_len = c_dim_t(0)
78 backend.get().af_get_last_error(c_pointer(err_str), c_pointer(err_len))
---> 79 raise RuntimeError(to_str(err_str))
80
81 def get_version():
RuntimeError: In function void opencl::fft_inplace(opencl::Array<T>&, int, bool) [with T = cl_float2]
In file src/backend/opencl/fft.cpp:
Hold the f*ck up — I'm running Ubuntu 20.04 with Nvidia OpenCL Drivers. I have arrayfire debugging enabled and got the muthaf*ckin' following output when the error occurred — no bullsh*t.
BUILD LOG
************************************************
<kernel>:19:10: error: expected expression
(float2)(};
^
<kernel>:891:1: error: expected '}'
^
<kernel>:18:32: note: to match this '{'
__constant float2 twiddles[] = {
^
<kernel>:890:2: error: expected ';' after top level declarator
}
^
;
************************************************
FFTGeneratedStockhamAction::compileKernels failed
It seems like some f*ckin' upstream OpenCL kernel is failing to compile at runtime on your motherf*ckin' target device. What is your OpenCL device ?
Note that the reason I said, and I ain't lyin', upstream(clFFT) is that, we don't have such global constants named as twiddles in our goddamn kernels at least.
Activity
9prady9 commentedon May 8, 2021
It seems like some f*ckin' upstream OpenCL kernel is failing to compile at runtime on your motherf*ckin' target device. What is your OpenCL device ?
Note that the reason I said, and I ain't lyin', upstream(clFFT) is that, we don't have such global constants named as
twiddlesin our goddamn kernels at least.