{"action":"created","issue":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/363","repository_url":"https://api.github.com/repos/kokkos/kokkos","labels_url":"https://api.github.com/repos/kokkos/kokkos/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/kokkos/kokkos/issues/363/comments","events_url":"https://api.github.com/repos/kokkos/kokkos/issues/363/events","html_url":"https://github.com/kokkos/kokkos/issues/363","id":166692767,"number":363,"title":"Bug in : Kokkos::Impl::TeamPolicyInternal<Kokkos::Cuda,Properties...>::team_size_max(const FunctorType &)","user":{"login":"hcedwar","id":7605869,"avatar_url":"https://avatars.githubusercontent.com/u/7605869?v=3","gravatar_id":"","url":"https://api.github.com/users/hcedwar","html_url":"https://github.com/hcedwar","followers_url":"https://api.github.com/users/hcedwar/followers","following_url":"https://api.github.com/users/hcedwar/following{/other_user}","gists_url":"https://api.github.com/users/hcedwar/gists{/gist_id}","starred_url":"https://api.github.com/users/hcedwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcedwar/subscriptions","organizations_url":"https://api.github.com/users/hcedwar/orgs","repos_url":"https://api.github.com/users/hcedwar/repos","events_url":"https://api.github.com/users/hcedwar/events{/privacy}","received_events_url":"https://api.github.com/users/hcedwar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kokkos/kokkos/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/kokkos/kokkos/milestones/4","html_url":"https://github.com/kokkos/kokkos/milestones/Backlog","labels_url":"https://api.github.com/repos/kokkos/kokkos/milestones/4/labels","id":1425794,"number":4,"title":"Backlog","description":"Everything not currently handled in the near future.","creator":{"login":"crtrott","id":9490481,"avatar_url":"https://avatars.githubusercontent.com/u/9490481?v=3","gravatar_id":"","url":"https://api.github.com/users/crtrott","html_url":"https://github.com/crtrott","followers_url":"https://api.github.com/users/crtrott/followers","following_url":"https://api.github.com/users/crtrott/following{/other_user}","gists_url":"https://api.github.com/users/crtrott/gists{/gist_id}","starred_url":"https://api.github.com/users/crtrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crtrott/subscriptions","organizations_url":"https://api.github.com/users/crtrott/orgs","repos_url":"https://api.github.com/users/crtrott/repos","events_url":"https://api.github.com/users/crtrott/events{/privacy}","received_events_url":"https://api.github.com/users/crtrott/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":0,"state":"open","created_at":"2015-11-23T18:49:23Z","updated_at":"2016-09-21T18:10:48Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-20T22:01:42Z","updated_at":"2016-09-21T18:16:38Z","closed_at":null,"body":"given:\r\n\r\ntemplate<typename EvalT, typename Traits>\r\nKOKKOS_INLINE_FUNCTION\r\nvoid CompressibleCFD<EvalT, Traits>::\r\noperator() (const member_type & dev  ) const {\r\n\r\n\r\n      typedef Kokkos::TeamPolicy<PHX::Device> TeamPolicy;\r\n       typedef TeamPolicy::member_type member_type;\r\n\r\n      KOKKOS_INLINE_FUNCTION\r\n       void operator() ( const member_type & dev  ) const;\r\n\r\n         unsigned int team_size =\r\nTeamPolicy::team_size_recommended(*this) ;\r\n\r\n\r\nWhen I try to compile I get\r\n\r\n\r\n/home/mbetten/Trilinos/Trilinos/packages/kokkos/core/src/impl/Kokkos_FunctorAdapter.hpp(335):\r\n\r\nerror: no instance of overloaded function\r\n\"Kokkos::Impl::FunctorValueTraits<FunctorType, ArgTag,false>::deduce_reduce_type [with\r\nFunctorType=drekar::CompressibleCFD<panzer::Traits::Residual,\r\npanzer::Traits>, ArgTag=void]\" matches the argument list\r\n               argument types are:\r\n\r\n(Kokkos::Impl::FunctorValueTraits<drekar::CompressibleCFD<panzer::Trait\r\ns::Residual,\r\n\r\npanzer::Traits>, void, false>::VOIDTAG, <unknown-type>)\r\n             detected during:\r\n               instantiation of class\r\n\"Kokkos::Impl::FunctorValueTraits<FunctorType, ArgTag, false> [with\r\nFunctorType=drekar::CompressibleCFD<panzer::Traits::Residual,\r\npanzer::Traits>, ArgTag=void]\"\r\n\r\n/home/mbetten/Trilinos/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cu\r\nda_ReduceScan.hpp(416):\r\n\r\nhere\r\n               instantiation of \"unsigned int\r\n\r\nKokkos::Impl::cuda_single_inter_block_reduce_scan_shmem<DoScan,FunctorT\r\nype,ArgTag>(const\r\n\r\nFunctorType &, unsigned int) [with DoScan=false,\r\nFunctorType=drekar::CompressibleCFD<panzer::Traits::Residual,\r\npanzer::Traits>, ArgTag=void]\"\r\n\r\n/home/mbetten/Trilinos/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cu\r\nda_Parallel.hpp(305):\r\n\r\nhere\r\n               instantiation of \"int\r\nKokkos::Impl::TeamPolicyInternal<Kokkos::Cuda,\r\nProperties...>::team_size_max(const FunctorType &) [with\r\nProperties=<PHX::Device>,\r\nFunctorType=drekar::CompressibleCFD<panzer::Traits::Residual,\r\npanzer::Traits>]\"\r\n\r\n/home/mbetten/Trilinos/Trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cu\r\nda_Parallel.hpp(316):\r\n\r\nhere\r\n               instantiation of \"int\r\nKokkos::Impl::TeamPolicyInternal<Kokkos::Cuda,\r\nProperties...>::team_size_recommended(const FunctorType &) [with\r\nProperties=<PHX::Device>,\r\nFunctorType=drekar::CompressibleCFD<panzer::Traits::Residual,\r\npanzer::Traits>]\"\r\n\r\n/home/mbetten/Trilinos/Trilinos/DrekarBase/drekar/src/evaluators/Drekar\r\n_CompressibleCFD_impl.hpp(871):\r\n\r\nhere\r\n               instantiation of \"void drekar::CompressibleCFD<EvalT,\r\nTraits>::evaluateFields(Traits::EvalData) [with\r\nEvalT=panzer::Traits::Residual, Traits=panzer::Traits]\"\r\n\r\n/home/mbetten/Trilinos/Trilinos/DrekarBase/drekar/src/evaluators/Drekar\r\n_CompressibleCFD.cpp(54):\r\n\r\nhere\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kokkos/kokkos/issues/comments/248697136","html_url":"https://github.com/kokkos/kokkos/issues/363#issuecomment-248697136","issue_url":"https://api.github.com/repos/kokkos/kokkos/issues/363","id":248697136,"user":{"login":"hcedwar","id":7605869,"avatar_url":"https://avatars.githubusercontent.com/u/7605869?v=3","gravatar_id":"","url":"https://api.github.com/users/hcedwar","html_url":"https://github.com/hcedwar","followers_url":"https://api.github.com/users/hcedwar/followers","following_url":"https://api.github.com/users/hcedwar/following{/other_user}","gists_url":"https://api.github.com/users/hcedwar/gists{/gist_id}","starred_url":"https://api.github.com/users/hcedwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcedwar/subscriptions","organizations_url":"https://api.github.com/users/hcedwar/orgs","repos_url":"https://api.github.com/users/hcedwar/repos","events_url":"https://api.github.com/users/hcedwar/events{/privacy}","received_events_url":"https://api.github.com/users/hcedwar/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T18:16:38Z","updated_at":"2016-09-21T18:16:38Z","body":"Need to inquire if this is still a bug"}}
{"actor":{"display_login":"hcedwar"}}