Summary: | CLBuffer.createSubBuffer(..) does not consider CL_DEVICE_MEM_BASE_ADDR_ALIGN | ||
---|---|---|---|
Product: | [JogAmp] Jocl | Reporter: | Sven Gothel <sgothel> |
Component: | opencl | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | wwalker3 |
Priority: | --- | ||
Version: | 1 | ||
Hardware: | All | ||
OS: | all | ||
Type: | --- | SCM Refs: |
d4f04ddd3ef3b65b7c31d3504cf55489153c60c1
|
Workaround: | --- |
Description
Sven Gothel
2014-02-19 01:54:17 CET
d4f04ddd3ef3b65b7c31d3504cf55489153c60c1 Add 'CL_DEVICE_MEM_BASE_ADDR_ALIGN' to CLDevice and overal maximum to CLContext Split CLBufferTest and use alignment. Which tests does this affect? It looks like all the remaining failures except those on Mac OS X 10.6 cause the VM to crash, but I can't see the stack traces of the crash from the build server. (In reply to comment #2) > Which tests does this affect? It looks like all the remaining failures > except those on Mac OS X 10.6 cause the VM to crash, but I can't see the > stack traces of the crash from the build server. Well, the crash is fixed now w/ the patch d4f04ddd3ef3b65b7c31d3504cf55489153c60c1, i.e. the CLBufferTest works now <http://jogamp.org/git/?p=jocl.git;a=blobdiff;f=test/com/jogamp/opencl/CLBufferTest.java;h=5b5d0e38d19454f89eab920a69c87fb04a8536f9;hp=0638844dfee19ababb19540ddc14b9835c285481;hb=d4f04ddd3ef3b65b7c31d3504cf55489153c60c1;hpb=84e5e16a4aaa206c39b04b980d8d63ffacb97dbb> (I always add a git-sha1 reference ..) However .. maybe we should add 'auto-alignment' option in that 'createSubBuffer' methods ? Test CLBufferTest is stable now. We may reconsider the auto-alignment at a later time in it's own bug report. |