-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion error in drawing the Julia set #20
Comments
I didn't test the code yet, but you have to copy Use
|
That fails with: _ERROR: Invalid value |
@moon6pence is right that you needed to move the memory to the GPU first. His suggestion seemed to have overcome the first problem, but now there seems to be something else going on. As a first thing to check, does |
Yes, the tests do pass. |
In launching cuda kernel,
You have to specify proper block size rather than 1. ex) 256, 512, 1024, ...
However, I couldn't get the julia image. |
I'm trying to use the following code to draw the Julia set (using Julia 0.3.5):
julia.jl
julia.cu (compiled to julia.ptx via
nvcc -ptx julia.cu
)When trying to run the code, it exits with the error
'rawpointer' has no method matching rawpointer(::Array{Complex{Float32},2})
. Is this a lackingconvert
for the type, or is there something wrong with my code? Sorry for not posting this on StackOverflow or /r/julia but I expect people here might be better informed about the peculiarities of CUDArt itself.The text was updated successfully, but these errors were encountered: