{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaGPU/CuArrays.jl/issues/126","repository_url":"https://api.github.com/repos/JuliaGPU/CuArrays.jl","labels_url":"https://api.github.com/repos/JuliaGPU/CuArrays.jl/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/JuliaGPU/CuArrays.jl/issues/126/comments","events_url":"https://api.github.com/repos/JuliaGPU/CuArrays.jl/issues/126/events","html_url":"https://github.com/JuliaGPU/CuArrays.jl/issues/126","id":355763370,"node_id":"MDU6SXNzdWUzNTU3NjMzNzA=","number":126,"title":"Support for Ints and Float16?","user":{"login":"philtomson","id":40693,"node_id":"MDQ6VXNlcjQwNjkz","avatar_url":"https://avatars0.githubusercontent.com/u/40693?v=4","gravatar_id":"","url":"https://api.github.com/users/philtomson","html_url":"https://github.com/philtomson","followers_url":"https://api.github.com/users/philtomson/followers","following_url":"https://api.github.com/users/philtomson/following{/other_user}","gists_url":"https://api.github.com/users/philtomson/gists{/gist_id}","starred_url":"https://api.github.com/users/philtomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philtomson/subscriptions","organizations_url":"https://api.github.com/users/philtomson/orgs","repos_url":"https://api.github.com/users/philtomson/repos","events_url":"https://api.github.com/users/philtomson/events{/privacy}","received_events_url":"https://api.github.com/users/philtomson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-30T21:36:17Z","updated_at":"2018-08-31T05:50:57Z","closed_at":null,"author_association":"NONE","body":"```\r\njulia> curand(Int8, 2)\r\nERROR: MethodError: no method matching curand(::Type{Int8}, ::Int64)\r\nClosest candidates are:\r\n  curand(::Type{Float32}, ::Int64) at /home/patomson/.julia/packages/CuArrays/F96Gk/src/rand/highlevel.jl:4\r\n  curand(::Type{Float64}, ::Int64) at /home/patomson/.julia/packages/CuArrays/F96Gk/src/rand/highlevel.jl:7\r\n```\r\n\r\nIt looks like you can only create CuArrays of type Float32 and Float64, but current CUDA  (9.2) and Nvidia GPUs support Integer types (Int8) as well as Float16."},"comment":{"url":"https://api.github.com/repos/JuliaGPU/CuArrays.jl/issues/comments/417559151","html_url":"https://github.com/JuliaGPU/CuArrays.jl/issues/126#issuecomment-417559151","issue_url":"https://api.github.com/repos/JuliaGPU/CuArrays.jl/issues/126","id":417559151,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzU1OTE1MQ==","user":{"login":"maleadt","id":383068,"node_id":"MDQ6VXNlcjM4MzA2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/383068?v=4","gravatar_id":"","url":"https://api.github.com/users/maleadt","html_url":"https://github.com/maleadt","followers_url":"https://api.github.com/users/maleadt/followers","following_url":"https://api.github.com/users/maleadt/following{/other_user}","gists_url":"https://api.github.com/users/maleadt/gists{/gist_id}","starred_url":"https://api.github.com/users/maleadt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maleadt/subscriptions","organizations_url":"https://api.github.com/users/maleadt/orgs","repos_url":"https://api.github.com/users/maleadt/repos","events_url":"https://api.github.com/users/maleadt/events{/privacy}","received_events_url":"https://api.github.com/users/maleadt/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T05:50:57Z","updated_at":"2018-08-31T05:50:57Z","author_association":"MEMBER","body":"Which API calls are those? Should be straightforward to add: a new wrapper in https://github.com/JuliaGPU/CuArrays.jl/blob/master/src/rand/wrappers.jl and the interface in https://github.com/JuliaGPU/CuArrays.jl/blob/master/src/rand/highlevel.jl\r\n\r\n"}}
{"actor":{"display_login":"maleadt"}}