Title: Could current ArrayFire support Matrix-Multply in batch mode? · Issue #1996 · arrayfire/arrayfire · GitHub
Open Graph Title: Could current ArrayFire support Matrix-Multply in batch mode? · Issue #1996 · arrayfire/arrayfire
X Title: Could current ArrayFire support Matrix-Multply in batch mode? · Issue #1996 · arrayfire/arrayfire
Description: Hi, I have read some issues of batched MM. I think this may be featured in latest version 3.5.1, because this page (http://arrayfire.org/docs/page_gfor.htm) illustrates an usage of gfor-MM. But, I can't apply a batched-MM as below. gfor(...
Open Graph Description: Hi, I have read some issues of batched MM. I think this may be featured in latest version 3.5.1, because this page (http://arrayfire.org/docs/page_gfor.htm) illustrates an usage of gfor-MM. But, I ...
X Description: Hi, I have read some issues of batched MM. I think this may be featured in latest version 3.5.1, because this page (http://arrayfire.org/docs/page_gfor.htm) illustrates an usage of gfor-MM. But, I ...
Opengraph URL: https://github.com/arrayfire/arrayfire/issues/1996
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Could current ArrayFire support Matrix-Multply in batch mode?","articleBody":"Hi, I have read some issues of batched MM.\r\nI think this may be featured in latest version 3.5.1, because this page (http://arrayfire.org/docs/page_gfor.htm) illustrates an usage of gfor-MM.\r\n\r\nBut, I can't apply a batched-MM as below.\r\n```\r\n gfor(af::seq i, n_sample)\r\n {\r\n af::array i_left = arr_left(af::span, af::span, i);\r\n af::array i_right = arr_right(af::span, af::span, i);\r\n arr(af::span, af::span, i) = af::matmul(i_left, i_right);\r\n }\r\n```\r\n\r\nWhat should I do?\r\n\r\nOn the other hand, ArrayFire could not work with OpenMP as below.\r\n```\r\n#pragma omp parallel for\r\n for(auto i=0; i\u003cn_sample, ++i)\r\n {\r\n af::array i_left = arr_left(af::span, af::span, i);\r\n af::array i_right = arr_right(af::span, af::span, i);\r\n arr(af::span, af::span, i) = af::matmul(i_left, i_right);\r\n }\r\n```\r\nIt came up with an exception in `af::gen_assign`.\r\nCould this be fixed?\r\n\r\nThanks, a lot.","author":{"url":"https://github.com/BookmanHan","@type":"Person","name":"BookmanHan"},"datePublished":"2017-11-23T02:46:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1996/arrayfire/issues/1996"}
| 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:7c679a2d-2239-e086-aea5-781129c3cbca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C828:3CEDB:1587258:1E200EB:696FD10A |
| html-safe-nonce | 799726be281fb7677d082e45cb2707b48def2c72b80b77740c5eff00eb323958 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODI4OjNDRURCOjE1ODcyNTg6MUUyMDBFQjo2OTZGRDEwQSIsInZpc2l0b3JfaWQiOiIyNzIwOTI2MDQwNzkwNjUxMTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b32ee33c4789edee8496c2ed23bd95972006faa5c0a9faac787edbff0d57d062 |
| hovercard-subject-tag | issue:276253882 |
| 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/1996/issue_layout |
| twitter:image | https://opengraph.githubassets.com/373e37e98f6e17b2dea42577c10edbc20bc0bf7b60cec7a8a5d8b7528ba4ba6e/arrayfire/arrayfire/issues/1996 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/373e37e98f6e17b2dea42577c10edbc20bc0bf7b60cec7a8a5d8b7528ba4ba6e/arrayfire/arrayfire/issues/1996 |
| og:image:alt | Hi, I have read some issues of batched MM. I think this may be featured in latest version 3.5.1, because this page (http://arrayfire.org/docs/page_gfor.htm) illustrates an usage of gfor-MM. But, I ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BookmanHan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a44b41159f8508d767a50a41d4355b6e6607de801262664cbe75414886e44e9 |
| 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 | 347f3ebfaef84b36b267c7a20bade84594f267d5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width