Title: RuntimeError: In function void opencl::fft_inplace · Issue #255 · arrayfire/arrayfire-python · GitHub
Open Graph Title: RuntimeError: In function void opencl::fft_inplace · Issue #255 · arrayfire/arrayfire-python
X Title: RuntimeError: In function void opencl::fft_inplace · Issue #255 · arrayfire/arrayfire-python
Description: Using this arrayfire release (https://arrayfire.s3.amazonaws.com/3.8.0/ArrayFire-v3.8.0_Linux_x86_64.sh) on the opencl backend with the python api I get the following error. import arrayfire as af af.set_backend('opencl') random_signal =...
Open Graph Description: Using this arrayfire release (https://arrayfire.s3.amazonaws.com/3.8.0/ArrayFire-v3.8.0_Linux_x86_64.sh) on the opencl backend with the python api I get the following error. import arrayfire as af ...
X Description: Using this arrayfire release (https://arrayfire.s3.amazonaws.com/3.8.0/ArrayFire-v3.8.0_Linux_x86_64.sh) on the opencl backend with the python api I get the following error. import arrayfire as af ...
Opengraph URL: https://github.com/arrayfire/arrayfire-python/issues/255
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RuntimeError: In function void opencl::fft_inplace","articleBody":"Using this arrayfire release (https://arrayfire.s3.amazonaws.com/3.8.0/ArrayFire-v3.8.0_Linux_x86_64.sh) on the opencl backend with the python api I get the following error. \r\n```python\r\nimport arrayfire as af\r\naf.set_backend('opencl')\r\nrandom_signal = af.random.randn(100)\r\ntest = af.signal.fft(random_signal)\r\n```\r\nError\r\n```\r\n---------------------------------------------------------------------------\r\nRuntimeError Traceback (most recent call last)\r\n\u003cipython-input-7-a744aa37e707\u003e in \u003cmodule\u003e\r\n----\u003e 1 test = af.signal.fft(random_signal)\r\n\r\n~/miniconda3/envs/af/lib/python3.7/site-packages/arrayfire/signal.py in fft(signal, dim0, scale)\r\n 177 \r\n 178 output = Array()\r\n--\u003e 179 safe_call(backend.get().af_fft(c_pointer(output.arr), signal.arr, c_double_t(scale), c_dim_t(dim0)))\r\n 180 return output\r\n 181 \r\n\r\n~/miniconda3/envs/af/lib/python3.7/site-packages/arrayfire/util.py in safe_call(af_error)\r\n 77 err_len = c_dim_t(0)\r\n 78 backend.get().af_get_last_error(c_pointer(err_str), c_pointer(err_len))\r\n---\u003e 79 raise RuntimeError(to_str(err_str))\r\n 80 \r\n 81 def get_version():\r\n\r\nRuntimeError: In function void opencl::fft_inplace(opencl::Array\u003cT\u003e\u0026, int, bool) [with T = cl_float2]\r\nIn file src/backend/opencl/fft.cpp:\r\n```\r\n\r\nI'm running Ubuntu 20.04 with Nvidia OpenCL Drivers. I have arrayfire debugging enabled and got the following output when the error occurred. \r\n\r\n```\r\n BUILD LOG\r\n************************************************\r\n\u003ckernel\u003e:19:10: error: expected expression\r\n(float2)(};\r\n ^\r\n\u003ckernel\u003e:891:1: error: expected '}'\r\n^\r\n\u003ckernel\u003e:18:32: note: to match this '{'\r\n__constant float2 twiddles[] = {\r\n ^\r\n\u003ckernel\u003e:890:2: error: expected ';' after top level declarator\r\n}\r\n ^\r\n ;\r\n\r\n************************************************\r\nFFTGeneratedStockhamAction::compileKernels failed\r\n\r\n```\r\n\r\n\r\n","author":{"url":"https://github.com/brianmcconnel","@type":"Person","name":"brianmcconnel"},"datePublished":"2021-05-07T22:41:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/255/arrayfire-python/issues/255"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7867cd1e-c3cb-d2f8-de94-e39cfd70ca45 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDBE:C419C:9A3017:CAE11D:696B52C2 |
| html-safe-nonce | bc5457cef579fa3fd799cd98167179245bae79f588e5913de1418238c43b7232 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREJFOkM0MTlDOjlBMzAxNzpDQUUxMUQ6Njk2QjUyQzIiLCJ2aXNpdG9yX2lkIjoiNTU5Mjg4NDkwNTQyMzYyMjg1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 342a51661592b765feb3b64642cbc55806883aa1bbd1cebec6d6864d12e028db |
| hovercard-subject-tag | issue:879869902 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/arrayfire/arrayfire-python/255/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f75254a002c3dacce5738bff01eef458b008f9bac428a08da5e54debf28a988/arrayfire/arrayfire-python/issues/255 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f75254a002c3dacce5738bff01eef458b008f9bac428a08da5e54debf28a988/arrayfire/arrayfire-python/issues/255 |
| og:image:alt | Using this arrayfire release (https://arrayfire.s3.amazonaws.com/3.8.0/ArrayFire-v3.8.0_Linux_x86_64.sh) on the opencl backend with the python api I get the following error. import arrayfire as af ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brianmcconnel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/arrayfire/arrayfire-python git https://github.com/arrayfire/arrayfire-python.git |
| octolytics-dimension-user_id | 5395442 |
| octolytics-dimension-user_login | arrayfire |
| octolytics-dimension-repository_id | 37599258 |
| octolytics-dimension-repository_nwo | arrayfire/arrayfire-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 37599258 |
| octolytics-dimension-repository_network_root_nwo | arrayfire/arrayfire-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width