You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I 'ved tried your black scholes script on a mac and I get the following results. It seems to work but an ERROR message is printed. Do you have the same behaviour?
INFO: Running benchmarks number of threads: 1
| Backend | Time (μs) for N = 10^1 |
| ---- | ---- |
| JLContext Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz with 1 threads | 0.00 μs|
| CLContext: AMD Radeon HD - FirePro D300 Compute Engine | 0.00 μs|
| Backend | Time (μs) for N = 10^2 |
| ---- | ---- |
| JLContext Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz with 1 threads | 0.00 μs|
| CLContext: AMD Radeon HD - FirePro D300 Compute Engine | 0.00 μs|
ERROR (unhandled task failure): MethodError: no method matching unsafe_string(::Ptr{Void})
Closest candidates are:
unsafe_string(!Matched::Cstring) at c.jl:79
unsafe_string(!Matched::Union{Ptr{Int8}, Ptr{UInt8}}) at strings/string.jl:39
unsafe_string(!Matched::Union{Ptr{Int8}, Ptr{UInt8}}, !Matched::Integer) at strings/string.jl:35
Stacktrace:
[1] macro expansion at /Users/macpro/.julia/v0.6/OpenCL/src/context.jl:95 [inlined]
[2] (::OpenCL.cl.##43#44)() at ./task.jl:335
| Backend | Time (μs) for N = 10^3 |
| ---- | ---- |
| JLContext Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz with 1 threads | 0.00 μs|
| CLContext: AMD Radeon HD - FirePro D300 Compute Engine | 0.00 μs|
| Backend | Time (μs) for N = 10^4 |
| ---- | ---- |
| JLContext Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz with 1 threads | 0.00 μs|
| CLContext: AMD Radeon HD - FirePro D300 Compute Engine | 0.00 μs|
| Backend | Time (μs) for N = 10^5 |
| ---- | ---- |
| JLContext Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz with 1 threads | 0.01 μs|
| CLContext: AMD Radeon HD - FirePro D300 Compute Engine | 0.00 μs|
| Backend | Time (μs) for N = 10^6 |
| ---- | ---- |
| JLContext Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz with 1 threads | 0.09 μs|
| CLContext: AMD Radeon HD - FirePro D300 Compute Engine | 0.00 μs|
| Backend | Time (μs) for N = 10^7 |
| ---- | ---- |
| JLContext Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz with 1 threads | 0.92 μs|
| CLContext: AMD Radeon HD - FirePro D300 Compute Engine | 0.04 μs|
The text was updated successfully, but these errors were encountered:
This is a known OpenCL.jl issue: Issue 111. I get this error as well, but just ignore it since it usually doesn't cause the running script to fail. It occurs on at least Linux and OSX, and for pretty much every OpenCL script I run, so it's not isolated to GPUArrays.
Hello
I 'ved tried your black scholes script on a mac and I get the following results. It seems to work but an ERROR message is printed. Do you have the same behaviour?
The text was updated successfully, but these errors were encountered: