Open romix opened 6 years ago
Hmm. When you did you own build, did you try running make test
? Have you tried any other OpenCL codes? Just trying to work out whether it's just crashing for this one code or for everything.
I tried "make test" and there are no failures.
My app is using LLVM as a library internally (it does some JITting). And oclgrind is using LLVM as well. Could it be that there is some kind of conflict because of that?
Or may be there are other things worth checking?
Ah yes, all sorts of strange things tend to happen when there are multiple users of LLVM in play. If Oclgrind is working fine with other codes, then this is likely to be the issue.
Unfortunately I'm not sure there are any workarounds. Presumably your application is using the same version of LLVM that you built Oclgrind against?
Presumably your application is using the same version of LLVM that you built Oclgrind against?
Yes. I also tried with another version, but got the same kind of crash.
Hi,
I'm trying to run oclgrind under MacOS. But the tool segfaults almost immediately after start. I tried the prebuilt binary and my own build. Both crash in the same way. Any ideas?
Here is the trace under LLDB: