Summary: | Crash in clBuildProgram | ||
---|---|---|---|
Product: | [JogAmp] Jocl | Reporter: | Wade Walker <wwalker3> |
Component: | opencl | Assignee: | Wade Walker <wwalker3> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | bram.leenhouwers, sgothel, wwalker3 |
Priority: | --- | ||
Version: | 1 | ||
Hardware: | pc_x86_64 | ||
OS: | linux | ||
Type: | --- | SCM Refs: | |
Workaround: | --- | ||
Attachments: | A kernel that crashes the driver in 340.65 |
Description
Wade Walker
2015-02-27 21:17:28 CET
Created attachment 691 [details]
A kernel that crashes the driver in 340.65
This does not seem to be tied to the kernel being compiled. I did however attach a test kernel that crashes the driver, so that we have the same reproduction steps. I did try on 331.38 (the one I see you use in the jenkins jobs) The behavior is a bit different, the jvm does not crash instantly, but becomes unstable and eventually killing the java process sometimes crashes the machine. Sorry this took me some time to get around to :) I created a JUnit test for this and tested it on my home machine (64b Windows 8), without seeing the problem. I can try it on Ubuntu 14 (my other main machine) and see if that gives any different results. However, one thing that might be causing this problem is the limit returned by querying CL_DEVICE_MAX_PARAMETER_SIZE. It's supposed to be guaranteed to be at least 256 bytes, which you shouldn't be hitting, but you might be very close to the limit if the OpenCL compiler is interpreting your "0" literals as 64 bit types (a 0.0f would insure floats). You might try using 0.0f or reducing the number of arguments to see if the problem goes away. You might also check your locale, sometimes that has weird effects on shader/kernel compilers. Try setting it to something boring like en_US.UTF-8 and see if that makes a difference. |