{"action":"created","issue":{"url":"https://api.github.com/repos/boostorg/compute/issues/471","labels_url":"https://api.github.com/repos/boostorg/compute/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/compute/issues/471/comments","events_url":"https://api.github.com/repos/boostorg/compute/issues/471/events","html_url":"https://github.com/boostorg/compute/issues/471","id":90785051,"number":471,"title":"is_nvidia_device() broken on Mac OS X 10.9.5","user":{"login":"msuchard","id":149039,"avatar_url":"https://avatars.githubusercontent.com/u/149039?v=3","gravatar_id":"","url":"https://api.github.com/users/msuchard","html_url":"https://github.com/msuchard","followers_url":"https://api.github.com/users/msuchard/followers","following_url":"https://api.github.com/users/msuchard/following{/other_user}","gists_url":"https://api.github.com/users/msuchard/gists{/gist_id}","starred_url":"https://api.github.com/users/msuchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msuchard/subscriptions","organizations_url":"https://api.github.com/users/msuchard/orgs","repos_url":"https://api.github.com/users/msuchard/repos","events_url":"https://api.github.com/users/msuchard/events{/privacy}","received_events_url":"https://api.github.com/users/msuchard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-24T21:33:58Z","updated_at":"2015-07-08T04:01:16Z","closed_at":"2015-07-08T04:01:05Z","body":"The following code:\r\n\r\n```{c++}\r\n#include <iostream>\r\n\r\n#include <boost/compute/core.hpp>\r\n#include <boost/compute/detail/vendor.hpp>\r\n\r\nnamespace compute = boost::compute;\r\n\r\nint main()\r\n{\r\n    // get the default device\r\n    compute::device device = compute::system::default_device();\r\n\r\n    // print the device's vendor\r\n    std::cout << device.vendor() << std::endl;\r\n\r\n    std::cout << compute::detail::is_nvidia_device(device) << std::endl;\r\n\r\n    return 0;\r\n}\r\n```\r\n\r\nproduces\r\n```\r\nNVIDIA\r\n0\r\n```\r\n\r\nsince\r\n```{c++}\r\nreturn device.vendor() == \"NVIDIA Corporation\"\r\n````\r\n\r\nfails in `vendor.hpp`.  Am happy to provide a pull-request fix.\r\n\r\nbest, Marc\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/boostorg/compute/issues/comments/119417401","html_url":"https://github.com/boostorg/compute/issues/471#issuecomment-119417401","issue_url":"https://api.github.com/repos/boostorg/compute/issues/471","id":119417401,"user":{"login":"kylelutz","id":45812,"avatar_url":"https://avatars.githubusercontent.com/u/45812?v=3","gravatar_id":"","url":"https://api.github.com/users/kylelutz","html_url":"https://github.com/kylelutz","followers_url":"https://api.github.com/users/kylelutz/followers","following_url":"https://api.github.com/users/kylelutz/following{/other_user}","gists_url":"https://api.github.com/users/kylelutz/gists{/gist_id}","starred_url":"https://api.github.com/users/kylelutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylelutz/subscriptions","organizations_url":"https://api.github.com/users/kylelutz/orgs","repos_url":"https://api.github.com/users/kylelutz/repos","events_url":"https://api.github.com/users/kylelutz/events{/privacy}","received_events_url":"https://api.github.com/users/kylelutz/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T04:01:16Z","updated_at":"2015-07-08T04:01:16Z","body":"Fixed in PR #472."}}