{"action":"created","issue":{"url":"https://api.github.com/repos/ufora/ufora/issues/242","repository_url":"https://api.github.com/repos/ufora/ufora","labels_url":"https://api.github.com/repos/ufora/ufora/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/ufora/ufora/issues/242/comments","events_url":"https://api.github.com/repos/ufora/ufora/issues/242/events","html_url":"https://github.com/ufora/ufora/issues/242","id":142482601,"number":242,"title":"Converting division to PTX fails","user":{"login":"atzannes","id":1581907,"avatar_url":"https://avatars.githubusercontent.com/u/1581907?v=3","gravatar_id":"","url":"https://api.github.com/users/atzannes","html_url":"https://github.com/atzannes","followers_url":"https://api.github.com/users/atzannes/followers","following_url":"https://api.github.com/users/atzannes/following{/other_user}","gists_url":"https://api.github.com/users/atzannes/gists{/gist_id}","starred_url":"https://api.github.com/users/atzannes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atzannes/subscriptions","organizations_url":"https://api.github.com/users/atzannes/orgs","repos_url":"https://api.github.com/users/atzannes/repos","events_url":"https://api.github.com/users/atzannes/events{/privacy}","received_events_url":"https://api.github.com/users/atzannes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T21:55:55Z","updated_at":"2016-03-21T22:22:34Z","closed_at":null,"body":"```self.compareCudaToCPU(\"fun((a,b)) { a/b }\", \"(2, 1)\")```\r\n\r\nFails with:\r\n```\r\nAssertionError: Failed with fun((a,b)) { a/b } on (2, 1): Exception(\r\n    (\r\n        \"Code returns multiple types.\", \r\n        (BA00CC2F65A2..., ((f: <eval>.<unnamed function>.f(...*), i: (2, 1)),))), \r\n    nothing)\r\n```"},"comment":{"url":"https://api.github.com/repos/ufora/ufora/issues/comments/199514689","html_url":"https://github.com/ufora/ufora/issues/242#issuecomment-199514689","issue_url":"https://api.github.com/repos/ufora/ufora/issues/242","id":199514689,"user":{"login":"braxtonmckee","id":8184708,"avatar_url":"https://avatars.githubusercontent.com/u/8184708?v=3","gravatar_id":"","url":"https://api.github.com/users/braxtonmckee","html_url":"https://github.com/braxtonmckee","followers_url":"https://api.github.com/users/braxtonmckee/followers","following_url":"https://api.github.com/users/braxtonmckee/following{/other_user}","gists_url":"https://api.github.com/users/braxtonmckee/gists{/gist_id}","starred_url":"https://api.github.com/users/braxtonmckee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braxtonmckee/subscriptions","organizations_url":"https://api.github.com/users/braxtonmckee/orgs","repos_url":"https://api.github.com/users/braxtonmckee/repos","events_url":"https://api.github.com/users/braxtonmckee/events{/privacy}","received_events_url":"https://api.github.com/users/braxtonmckee/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T22:22:34Z","updated_at":"2016-03-21T22:22:34Z","body":"Yeah this is because of the exception path. I think the right thing to do\nis to modify it so that exceptions cause that particular frame to exit\nearly. We should keep a mask of which threads exited with real values. We\ncan then execute the early-exit threads on the CPU to capture whatever\nactually happened. In the short-run, let's not worry about this...\n\nOn Mon, Mar 21, 2016 at 5:55 PM, Alexandros Tzannes <\nnotifications@github.com> wrote:\n\n> self.compareCudaToCPU(\"fun((a,b)) { a/b }\", \"(2, 1)\")\n>\n> Fails with:\n>\n> AssertionError: Failed with fun((a,b)) { a/b } on (2, 1): Exception(\n>     (\n>         \"Code returns multiple types.\",\n>         (BA00CC2F65A2..., ((f: <eval>.<unnamed function>.f(...*), i: (2, 1)),))),\n>     nothing)\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ufora/ufora/issues/242>\n>\n\n\n\n-- \n-------------------------------------------------------------------------------------------\nBraxton McKee                             CEO / Ufora\nwww.twitter.com/braxtonmckee       www.ufora.com\n"}}