Title: [BUG] arrayfire::locate fails for large arrays · Issue #3372 · arrayfire/arrayfire · GitHub
Open Graph Title: [BUG] arrayfire::locate fails for large arrays · Issue #3372 · arrayfire/arrayfire
X Title: [BUG] arrayfire::locate fails for large arrays · Issue #3372 · arrayfire/arrayfire
Description: Description arrayfire::locate fails for input large arrays. I only tested this on the rust version of arrayfire. No sure if it appears in the C++ version. Reproducible Code and/or Steps For a large array of A, arrayfire locate fails arra...
Open Graph Description: Description arrayfire::locate fails for input large arrays. I only tested this on the rust version of arrayfire. No sure if it appears in the C++ version. Reproducible Code and/or Steps For a large...
X Description: Description arrayfire::locate fails for input large arrays. I only tested this on the rust version of arrayfire. No sure if it appears in the C++ version. Reproducible Code and/or Steps For a large...
Opengraph URL: https://github.com/arrayfire/arrayfire/issues/3372
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] arrayfire::locate fails for large arrays","articleBody":"Description\r\n===========\r\narrayfire::locate fails for input large arrays. I only tested this on the rust version of arrayfire. No sure if it appears in the C++ version.\r\n\r\nReproducible Code and/or Steps\r\n------------------------------\r\n\r\nFor a large array of A, arrayfire locate fails\r\n```\r\n\r\narrayfire::set_seed(100);\r\nlet A_dims = arrayfire::Dim4::new(\u0026[107500,1,32000,1]);\r\nlet mut A = arrayfire::randu::\u003cbool\u003e(A_dims);\r\n\r\nlet result = arrayfire::locate(\u0026A);\r\n\r\nprintln!(\" result.dims()[0] {}\",result.dims()[0]);\r\nprintln!(\" result.dims()[1] {}\",result.dims()[1]);\r\nprintln!(\" result.dims()[2] {}\",result.dims()[2]);\t\r\n```\r\n```\r\n[1] 84261 segmentation fault (core dumped) \r\n```\r\nSystem Information\r\n------------------\r\nArrayFire v3.9.0 (CUDA, 64-bit Linux, build 715e21fcd)\r\nPlatform: CUDA Runtime 12.0, Driver: 525.89.02\r\n[0] NVIDIA GeForce RTX 3090, 24260 MB, CUDA Compute 8.6\r\nInfo String:\r\nArrayFire v3.9.0 (CUDA, 64-bit Linux, build 715e21fcd)\r\nPlatform: CUDA Runtime 12.0, Driver: 525.89.02\r\n[0] NVIDIA GeForce RTX 3090, 24260 MB, CUDA Compute 8.6\r\nArrayfire version: (3, 9, 0)\r\nName: NVIDIA_GeForce_RTX_3090\r\nPlatform: CUDA\r\nToolkit: v12.0\r\nCompute: 8.6\r\nRevision: 715e21fcd\r\n\r\n\r\nChecklist\r\n---------\r\n- [x] Using the latest available ArrayFire release\r\n- [x] GPU drivers are up to date\r\n","author":{"url":"https://github.com/BA8F0D39","@type":"Person","name":"BA8F0D39"},"datePublished":"2023-03-09T07:56:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/3372/arrayfire/issues/3372"}
| 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:45f75ca7-52ca-a280-f528-20efaf39fdac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7FE:28296C:88F710:BA1E46:696E80E1 |
| html-safe-nonce | 258418450403b7931f225cd46be3d201e79e01265505d6d475cf3c56198bebef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0ZFOjI4Mjk2Qzo4OEY3MTA6QkExRTQ2OjY5NkU4MEUxIiwidmlzaXRvcl9pZCI6IjEwNzU3NjY3Njk3MDQ5Mjc0NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cba4f72ddf276698b71ad7930276de2a79aaa6063c8d6e8052ed25b3815dc619 |
| hovercard-subject-tag | issue:1616633788 |
| 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/3372/issue_layout |
| twitter:image | https://opengraph.githubassets.com/728ba2b10c2f127b51f9144c98735a7f204cb486ee21ee22887776fddd700755/arrayfire/arrayfire/issues/3372 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/728ba2b10c2f127b51f9144c98735a7f204cb486ee21ee22887776fddd700755/arrayfire/arrayfire/issues/3372 |
| og:image:alt | Description arrayfire::locate fails for input large arrays. I only tested this on the rust version of arrayfire. No sure if it appears in the C++ version. Reproducible Code and/or Steps For a large... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BA8F0D39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/arrayfire/arrayfire git https://github.com/arrayfire/arrayfire.git |
| octolytics-dimension-user_id | 5395442 |
| octolytics-dimension-user_login | arrayfire |
| octolytics-dimension-repository_id | 25889802 |
| octolytics-dimension-repository_nwo | arrayfire/arrayfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 25889802 |
| octolytics-dimension-repository_network_root_nwo | arrayfire/arrayfire |
| 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 | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width