{"action":"created","issue":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka/issues/268","repository_url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka/issues/268/comments","events_url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka/issues/268/events","html_url":"https://github.com/ComputationalRadiationPhysics/alpaka/issues/268","id":166592053,"number":268,"title":"Why does Alpaka support multidimensional memory?","user":{"login":"theZiz","id":385145,"avatar_url":"https://avatars.githubusercontent.com/u/385145?v=3","gravatar_id":"","url":"https://api.github.com/users/theZiz","html_url":"https://github.com/theZiz","followers_url":"https://api.github.com/users/theZiz/followers","following_url":"https://api.github.com/users/theZiz/following{/other_user}","gists_url":"https://api.github.com/users/theZiz/gists{/gist_id}","starred_url":"https://api.github.com/users/theZiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theZiz/subscriptions","organizations_url":"https://api.github.com/users/theZiz/orgs","repos_url":"https://api.github.com/users/theZiz/repos","events_url":"https://api.github.com/users/theZiz/events{/privacy}","received_events_url":"https://api.github.com/users/theZiz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-20T14:15:10Z","updated_at":"2016-07-23T03:52:26Z","closed_at":"2016-07-22T10:04:07Z","body":"One big point about Alpaka is, that it is memory agnostic. So you can create and copy memory, but in the end only access it with a pointer.\r\n\r\nBut if I only get a pointer anyway and thus need to calculate the 1D memory position out of 2D coordinates, why does Alpaka support multidimensional memory in the first place?"},"comment":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka/issues/comments/234697318","html_url":"https://github.com/ComputationalRadiationPhysics/alpaka/issues/268#issuecomment-234697318","issue_url":"https://api.github.com/repos/ComputationalRadiationPhysics/alpaka/issues/268","id":234697318,"user":{"login":"bussmann","id":5127816,"avatar_url":"https://avatars.githubusercontent.com/u/5127816?v=3","gravatar_id":"","url":"https://api.github.com/users/bussmann","html_url":"https://github.com/bussmann","followers_url":"https://api.github.com/users/bussmann/followers","following_url":"https://api.github.com/users/bussmann/following{/other_user}","gists_url":"https://api.github.com/users/bussmann/gists{/gist_id}","starred_url":"https://api.github.com/users/bussmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bussmann/subscriptions","organizations_url":"https://api.github.com/users/bussmann/orgs","repos_url":"https://api.github.com/users/bussmann/repos","events_url":"https://api.github.com/users/bussmann/events{/privacy}","received_events_url":"https://api.github.com/users/bussmann/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T03:52:26Z","updated_at":"2016-07-23T03:52:26Z","body":"There are two other reasons imho. First, user convenience. Users sometimes like to write and read code that assumes a certain dimensionality of the data. Second, if you have a certain concept of iterating over the data, your code should reflect this on a high abstraction level. Nevertheless it is indeed questionable if Alpaka is conceptionally for these operations. Due to the reasons mentioned above it looks like it for now, but we should discuss this further."}}
{"actor":{"display_login":"bussmann"}}