{"action":"created","issue":{"url":"https://api.github.com/repos/halide/Halide/issues/3085","repository_url":"https://api.github.com/repos/halide/Halide","labels_url":"https://api.github.com/repos/halide/Halide/issues/3085/labels{/name}","comments_url":"https://api.github.com/repos/halide/Halide/issues/3085/comments","events_url":"https://api.github.com/repos/halide/Halide/issues/3085/events","html_url":"https://github.com/halide/Halide/issues/3085","id":335504074,"node_id":"MDU6SXNzdWUzMzU1MDQwNzQ=","number":3085,"title":"Channel select definition","user":{"login":"edubois","id":214761,"node_id":"MDQ6VXNlcjIxNDc2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/214761?v=4","gravatar_id":"","url":"https://api.github.com/users/edubois","html_url":"https://github.com/edubois","followers_url":"https://api.github.com/users/edubois/followers","following_url":"https://api.github.com/users/edubois/following{/other_user}","gists_url":"https://api.github.com/users/edubois/gists{/gist_id}","starred_url":"https://api.github.com/users/edubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edubois/subscriptions","organizations_url":"https://api.github.com/users/edubois/orgs","repos_url":"https://api.github.com/users/edubois/repos","events_url":"https://api.github.com/users/edubois/events{/privacy}","received_events_url":"https://api.github.com/users/edubois/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-25T17:44:50Z","updated_at":"2018-06-25T18:18:26Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nAs I cannot write this:\r\n```\r\nout(x, y, 0) = selection[0];\r\nout(x, y, 1) = selection[1];\r\nout(x, y, 2) = selection[2];\r\nout(x, y, 3) = selection[3];\r\n\r\n```\r\nIs there a better way to write this?\r\n`out(x, y, c) = select(c == 0, selection[0], select(c == 1, selection[1], select(c == 2, selection[2], selection[3])));`\r\n"},"comment":{"url":"https://api.github.com/repos/halide/Halide/issues/comments/400046910","html_url":"https://github.com/halide/Halide/issues/3085#issuecomment-400046910","issue_url":"https://api.github.com/repos/halide/Halide/issues/3085","id":400046910,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDA0NjkxMA==","user":{"login":"edubois","id":214761,"node_id":"MDQ6VXNlcjIxNDc2MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/214761?v=4","gravatar_id":"","url":"https://api.github.com/users/edubois","html_url":"https://github.com/edubois","followers_url":"https://api.github.com/users/edubois/followers","following_url":"https://api.github.com/users/edubois/following{/other_user}","gists_url":"https://api.github.com/users/edubois/gists{/gist_id}","starred_url":"https://api.github.com/users/edubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edubois/subscriptions","organizations_url":"https://api.github.com/users/edubois/orgs","repos_url":"https://api.github.com/users/edubois/repos","events_url":"https://api.github.com/users/edubois/events{/privacy}","received_events_url":"https://api.github.com/users/edubois/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T18:18:26Z","updated_at":"2018-06-25T18:18:26Z","author_association":"NONE","body":"Ok, I see. Last question: is the auto scheduler doing that automatically?"}}
{"actor":{"display_login":"edubois"}}