{"action":"created","issue":{"url":"https://api.github.com/repos/dealii/dealii/issues/3037","repository_url":"https://api.github.com/repos/dealii/dealii","labels_url":"https://api.github.com/repos/dealii/dealii/issues/3037/labels{/name}","comments_url":"https://api.github.com/repos/dealii/dealii/issues/3037/comments","events_url":"https://api.github.com/repos/dealii/dealii/issues/3037/events","html_url":"https://github.com/dealii/dealii/issues/3037","id":174009123,"number":3037,"title":"Require sm=35 or higher when using CUDA","user":{"login":"Rombur","id":368538,"avatar_url":"https://avatars.githubusercontent.com/u/368538?v=3","gravatar_id":"","url":"https://api.github.com/users/Rombur","html_url":"https://github.com/Rombur","followers_url":"https://api.github.com/users/Rombur/followers","following_url":"https://api.github.com/users/Rombur/following{/other_user}","gists_url":"https://api.github.com/users/Rombur/gists{/gist_id}","starred_url":"https://api.github.com/users/Rombur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rombur/subscriptions","organizations_url":"https://api.github.com/users/Rombur/orgs","repos_url":"https://api.github.com/users/Rombur/repos","events_url":"https://api.github.com/users/Rombur/events{/privacy}","received_events_url":"https://api.github.com/users/Rombur/received_events","type":"User","site_admin":false},"labels":[{"id":406205169,"url":"https://api.github.com/repos/dealii/dealii/labels/Build%20system","name":"Build system","color":"fbca04","default":false},{"id":432982634,"url":"https://api.github.com/repos/dealii/dealii/labels/GPU","name":"GPU","color":"FFE936","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-30T12:44:22Z","updated_at":"2016-11-02T21:08:09Z","closed_at":null,"body":"We require `sm=35` or higher when compiling the library but we don't check that the device supports `sm=35` and the user has to set `-D CUDA_NVCC_FLAGS=\"-arch=sm_xx\"` himself at configure time.\n"},"comment":{"url":"https://api.github.com/repos/dealii/dealii/issues/comments/257999503","html_url":"https://github.com/dealii/dealii/issues/3037#issuecomment-257999503","issue_url":"https://api.github.com/repos/dealii/dealii/issues/3037","id":257999503,"user":{"login":"Rombur","id":368538,"avatar_url":"https://avatars.githubusercontent.com/u/368538?v=3","gravatar_id":"","url":"https://api.github.com/users/Rombur","html_url":"https://github.com/Rombur","followers_url":"https://api.github.com/users/Rombur/followers","following_url":"https://api.github.com/users/Rombur/following{/other_user}","gists_url":"https://api.github.com/users/Rombur/gists{/gist_id}","starred_url":"https://api.github.com/users/Rombur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rombur/subscriptions","organizations_url":"https://api.github.com/users/Rombur/orgs","repos_url":"https://api.github.com/users/Rombur/repos","events_url":"https://api.github.com/users/Rombur/events{/privacy}","received_events_url":"https://api.github.com/users/Rombur/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T21:08:09Z","updated_at":"2016-11-02T21:08:09Z","body":"Kokkos has an init function where they do some nice checks. For example, when I run one of their tutorial I get:\r\n`Kokkos::Cuda::initialize WARNING: running kernels compiled for compute capability 3.0 on device with compute capability 5.0 , this will likely reduce potential performance.`\r\nHere is the function they use to check the hardware at runtime https://github.com/kokkos/kokkos/blob/9c698c86ac48dbdedd2029f5a978d87d06c1fc80/core/src/Cuda/Kokkos_Cuda_Impl.cpp#L94"}}
{"actor":{"display_login":"Rombur"}}