Title: [Question] thread parallel · Issue #3693 · arrayfire/arrayfire · GitHub
Open Graph Title: [Question] thread parallel · Issue #3693 · arrayfire/arrayfire
X Title: [Question] thread parallel · Issue #3693 · arrayfire/arrayfire
Description: In a multi thread environment for CPU backend, the tasks in the queue are executed serially, only one thread executes the task. Set AF_SYNCHRONOUS_CALLS = 1, the threads work well. Does it because the queue is in the main thread? Is ther...
Open Graph Description: In a multi thread environment for CPU backend, the tasks in the queue are executed serially, only one thread executes the task. Set AF_SYNCHRONOUS_CALLS = 1, the threads work well. Does it because ...
X Description: In a multi thread environment for CPU backend, the tasks in the queue are executed serially, only one thread executes the task. Set AF_SYNCHRONOUS_CALLS = 1, the threads work well. Does it because ...
Opengraph URL: https://github.com/arrayfire/arrayfire/issues/3693
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Question] thread parallel","articleBody":"In a multi thread environment for CPU backend, the tasks in the queue are executed serially, only one thread executes the task.\nSet AF_SYNCHRONOUS_CALLS = 1, the threads work well.\nDoes it because the queue is in the main thread? Is there any method to let every thread have its own queue?","author":{"url":"https://github.com/EMinsight","@type":"Person","name":"EMinsight"},"datePublished":"2025-08-29T07:23:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3693/arrayfire/issues/3693"}
| 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:23cf08d6-57ea-5255-e7f4-301d59f44bd0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD7E:154085:6F3203F:91719E4:696DA23F |
| html-safe-nonce | 437dea5d7317eb2d6371b1783c2313330a43467ce382829676c82bd7c0c6b878 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDdFOjE1NDA4NTo2RjMyMDNGOjkxNzE5RTQ6Njk2REEyM0YiLCJ2aXNpdG9yX2lkIjoiNDUzODA4MDMzOTU1NjE0Nzc3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 021d499c1473eba33c6d93feabed6d5f949638afc21ef186fc71e13ba1a2c3ff |
| hovercard-subject-tag | issue:3365780903 |
| 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/3693/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d7fe5657f8a219dad53bd69b592f17d6cf416afb9172a10aca44b9800ee671a/arrayfire/arrayfire/issues/3693 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d7fe5657f8a219dad53bd69b592f17d6cf416afb9172a10aca44b9800ee671a/arrayfire/arrayfire/issues/3693 |
| og:image:alt | In a multi thread environment for CPU backend, the tasks in the queue are executed serially, only one thread executes the task. Set AF_SYNCHRONOUS_CALLS = 1, the threads work well. Does it because ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EMinsight |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width