{"action":"created","issue":{"url":"https://api.github.com/repos/eyalroz/cuda-api-wrappers/issues/45","repository_url":"https://api.github.com/repos/eyalroz/cuda-api-wrappers","labels_url":"https://api.github.com/repos/eyalroz/cuda-api-wrappers/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/eyalroz/cuda-api-wrappers/issues/45/comments","events_url":"https://api.github.com/repos/eyalroz/cuda-api-wrappers/issues/45/events","html_url":"https://github.com/eyalroz/cuda-api-wrappers/issues/45","id":319563492,"number":45,"title":"Dependence on CUB?","user":{"login":"makortel","id":33993,"avatar_url":"https://avatars3.githubusercontent.com/u/33993?v=4","gravatar_id":"","url":"https://api.github.com/users/makortel","html_url":"https://github.com/makortel","followers_url":"https://api.github.com/users/makortel/followers","following_url":"https://api.github.com/users/makortel/following{/other_user}","gists_url":"https://api.github.com/users/makortel/gists{/gist_id}","starred_url":"https://api.github.com/users/makortel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makortel/subscriptions","organizations_url":"https://api.github.com/users/makortel/orgs","repos_url":"https://api.github.com/users/makortel/repos","events_url":"https://api.github.com/users/makortel/events{/privacy}","received_events_url":"https://api.github.com/users/makortel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-02T13:57:13Z","updated_at":"2018-05-03T09:59:47Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI was trying to update our version of cuda-api-wrappers to the HEAD (fe0f79bd6ed2c25efb7b1ada19e9718f5299971e), when I stumbled on the recently-added dependence on CUB (3f165286082d6261b3dacad8a8c2c0c5dae700e8). The dependence itself is fine (even if I didn't manage to find any actual use of that in cuda-api-wrappers), my exact problem being how to build cuda-api-wrappers now. After adding CUB as a dependence of cuda-api-wrappers in our (non-CMake) build system, I get the following error from CMake when building cuda-api-wrappers\r\n```\r\nCMake Error at CMakeLists.txt:96 (find_package):\r\n  By not providing \"FindCUB.cmake\" in CMAKE_MODULE_PATH this project has\r\n  asked CMake to find a package configuration file provided by \"CUB\", but\r\n  CMake did not find one.\r\n\r\n  Could not find a package configuration file provided by \"CUB\" (requested\r\n  version 1.5.0) with any of the following names:\r\n\r\n    CUBConfig.cmake\r\n    cub-config.cmake\r\n\r\n  Add the installation prefix of \"CUB\" to CMAKE_PREFIX_PATH or set \"CUB_DIR\"\r\n  to a directory containing one of the above files.  If \"CUB\" provides a\r\n  separate development package or SDK, be sure it has been installed.\r\n```\r\nIs the problem something that should be fixed in cuda-api-wrapper build rules, or in our build rules (I'm rather newbie concerning CMake)? (or maybe the dependence on CUB could be removed for time being if it is not really needed?)\r\n\r\nThanks,\r\nMatti"},"comment":{"url":"https://api.github.com/repos/eyalroz/cuda-api-wrappers/issues/comments/386246088","html_url":"https://github.com/eyalroz/cuda-api-wrappers/issues/45#issuecomment-386246088","issue_url":"https://api.github.com/repos/eyalroz/cuda-api-wrappers/issues/45","id":386246088,"user":{"login":"fwyzard","id":4069793,"avatar_url":"https://avatars2.githubusercontent.com/u/4069793?v=4","gravatar_id":"","url":"https://api.github.com/users/fwyzard","html_url":"https://github.com/fwyzard","followers_url":"https://api.github.com/users/fwyzard/followers","following_url":"https://api.github.com/users/fwyzard/following{/other_user}","gists_url":"https://api.github.com/users/fwyzard/gists{/gist_id}","starred_url":"https://api.github.com/users/fwyzard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fwyzard/subscriptions","organizations_url":"https://api.github.com/users/fwyzard/orgs","repos_url":"https://api.github.com/users/fwyzard/repos","events_url":"https://api.github.com/users/fwyzard/events{/privacy}","received_events_url":"https://api.github.com/users/fwyzard/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T09:59:47Z","updated_at":"2018-05-03T09:59:47Z","author_association":"CONTRIBUTOR","body":"#46 fixes the issue, at least in our build environment.\r\n\r\nHowever now the problem is that there is no `examples/other/sort_with_cub.cu` file in the repository !"}}
{"actor":{"display_login":"fwyzard"}}