OpenCL

Started by dronus, February 10, 2010, 14:46:50

Previous topic - Next topic

Momoko_Fan

I found some new bugs :)
This is on a different machine, btw. With ATI Radeon HD 5770.
Exception in thread "main" java.lang.NullPointerException
        at org.lwjgl.test.opencl.HelloOpenCL.execute(HelloOpenCL.java:56)
        at org.lwjgl.test.opencl.HelloOpenCL.main(HelloOpenCL.java:182)


Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeExceptio
n: No OpenCL platforms found.
        at org.lwjgl.test.opencl.gl.DemoFractal.init(DemoFractal.java:324)
        at org.lwjgl.test.opencl.gl.DemoFractal.main(DemoFractal.java:723)
Caused by: java.lang.RuntimeException: No OpenCL platforms found.
        at org.lwjgl.test.opencl.gl.DemoFractal.initCL(DemoFractal.java:343)
        at org.lwjgl.test.opencl.gl.DemoFractal.init(DemoFractal.java:319)
        ... 1 more

Do note that it has OpenCL, I have GPU Caps Viewer installed and all the OpenCL demos work fine there.

Also, for 64 bit LWJGL only:
Exception in thread "main" java.lang.LinkageError: Version mismatch: jar version
 is '23', native libary version is '22'
        at org.lwjgl.Sys.<clinit>(Sys.java:105)
        at org.lwjgl.opencl.CL.<clinit>(CL.java:49)
        at org.lwjgl.test.opencl.HelloOpenCL.execute(HelloOpenCL.java:53)
        at org.lwjgl.test.opencl.HelloOpenCL.main(HelloOpenCL.java:182)

Looks like someone needs to update lwjgl64.dll?

spasi

About the first problem: Could you run the same tests with lwjgl-debug.jar and -Dorg.lwjg.util.Debug=true and see what the output is? Also, what version of the Stream SDK is installed on that machine?

Momoko_Fan

Okay here it is with HelloOpenCL.
ATI Stream version 2.2, Catalyst 10.9.

getPathFromClassLoader: searching for: OpenCL
Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
getPathFromClassLoader: searching for: lwjgl
Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
Found 8 OpenCL paths
T
Failed to load C:\Program Files (x86)\Java\jre6\bin\OpenCL.dll: C
T
F
Exception in thread "main" org.lwjgl.opencl.OpenCLException: Error Code: CL_PLATFORM_NOT_FOUND_KHR (0xFFFFFC17)
        at org.lwjgl.opencl.Util.throwCLError(Util.java:73)
        at org.lwjgl.opencl.Util.checkCLError(Util.java:66)
        at org.lwjgl.opencl.CL10.clGetPlatformIDs(CL10.java:402)
        at org.lwjgl.opencl.InfoUtilFactory$CLPlatformUtil.getPlatforms(InfoUtilFactory.java:293)
        at org.lwjgl.opencl.CLPlatform.getPlatforms(CLPlatform.java:122)
        at org.lwjgl.opencl.CLPlatform.getPlatforms(CLPlatform.java:111)
        at org.lwjgl.test.opencl.HelloOpenCL.execute(HelloOpenCL.java:55)
        at org.lwjgl.test.opencl.HelloOpenCL.main(HelloOpenCL.java:183)


And DemoFractal:
getPathFromClassLoader: searching for: OpenCL
Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
getPathFromClassLoader: searching for: lwjgl
Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.lang.String)
Found 8 OpenCL paths
T
Failed to load C:\Program Files (x86)\Java\jre6\bin\OpenCL.dll: C
T
F
Initial mode: 1920 x 1080 x 32 @60Hz
Could not locate symbol glEnableClientStateiEXT
Could not locate symbol glDisableClientStateiEXT
Could not locate symbol glGetFloati_vEXT
Could not locate symbol glGetDoublei_vEXT
Could not locate symbol glGetPointeri_vEXT
Could not locate symbol glGetCompressedMultiTexImage
GL_EXT_direct_state_access was reported as available but an entry point is missing
Could not locate symbol glVertexAttribL1dEXT
Could not locate symbol glVertexAttribL2dEXT
Could not locate symbol glVertexAttribL3dEXT
Could not locate symbol glVertexAttribL4dEXT
Could not locate symbol glVertexAttribL1dvEXT
Could not locate symbol glVertexAttribL2dvEXT
Could not locate symbol glVertexAttribL3dvEXT
Could not locate symbol glVertexAttribL4dvEXT
Could not locate symbol glVertexAttribLPointerEXT
Could not locate symbol glGetVertexAttribLdvEXT
GL_EXT_vertex_attrib_64bit was reported as available but an entry point is missing
Could not locate symbol glMinSampleShading
OpenGL40 was reported as available but an entry point is missing
Could not locate symbol glVertexWeighthNV
Could not locate symbol glVertexAttrib1hNV
Could not locate symbol glVertexAttrib2hNV
Could not locate symbol glVertexAttrib3hNV
Could not locate symbol glVertexAttrib4hNV
Could not locate symbol glVertexAttribs1hvNV
Could not locate symbol glVertexAttribs2hvNV
Could not locate symbol glVertexAttribs3hvNV
Could not locate symbol glVertexAttribs4hvNV
Exception in thread "main" java.lang.RuntimeException: org.lwjgl.opencl.OpenCLException: Error Code: CL_PLATFORM_NOT_FOUND_KHR (0xFFFFFC17)
        at org.lwjgl.test.opencl.gl.DemoFractal.init(DemoFractal.java:324)
        at org.lwjgl.test.opencl.gl.DemoFractal.main(DemoFractal.java:723)
Caused by: org.lwjgl.opencl.OpenCLException: Error Code: CL_PLATFORM_NOT_FOUND_KHR (0xFFFFFC17)
        at org.lwjgl.opencl.Util.throwCLError(Util.java:73)
        at org.lwjgl.opencl.Util.checkCLError(Util.java:66)
        at org.lwjgl.opencl.CL10.clGetPlatformIDs(CL10.java:402)
        at org.lwjgl.opencl.InfoUtilFactory$CLPlatformUtil.getPlatforms(InfoUtilFactory.java:293)
        at org.lwjgl.opencl.CLPlatform.getPlatforms(CLPlatform.java:122)
        at org.lwjgl.opencl.CLPlatform.getPlatforms(CLPlatform.java:111)
        at org.lwjgl.test.opencl.gl.DemoFractal.initCL(DemoFractal.java:341)
        at org.lwjgl.test.opencl.gl.DemoFractal.init(DemoFractal.java:319)
        ... 1 more


Here's the output of one of the OpenCL testing software I ran on this machine, maybe it will help debug this issue.
clGetPlatformIDs=1
 cl_platform_id=0
  CL_PLATFORM_PROFILE=FULL_PROFILE
  CL_PLATFORM_VERSION=OpenCL 1.1 ATI-Stream-v2.2 (302)
  CL_PLATFORM_NAME=ATI Stream
   clGetDeviceIDs=2
    cl_device_id=0
    CL_DEVICE_VENDOR_ID=4098
     bAlreadyUsed=FALSE
    CL_DEVICE_NAME=Intel(R) Core(TM)2 Quad CPU    Q8300  @ 2.50GHz
    CL_DEVICE_VENDOR=GenuineIntel
    CL_DEVICE_VERSION=OpenCL 1.1 ATI-Stream-v2.2 (302)
    CL_DEVICE_EXTENSIONS=cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_printf cl_khr_d3d10_sharing 
    CL_DEVICE_MAX_COMPUTE_UNITS=4
    CL_DEVICE_MAX_CLOCK_FREQUENCY=2493
    CL_DEVICE_TYPE=2
    bCLMoreDevicesLeft=TRUE
    OpenCL.dll path=C:\Windows\system32\OpenCL.dll
    bOpenCL=TRUE
    bIsGPU=FALSE
......
    cl_device_id=1
    CL_DEVICE_VENDOR_ID=4098
     bAlreadyUsed=FALSE
    CL_DEVICE_NAME=Juniper
    CL_DEVICE_VENDOR=Advanced Micro Devices, Inc.
    CL_DEVICE_VERSION=OpenCL 1.1 ATI-Stream-v2.2 (302)
    CL_DEVICE_EXTENSIONS=cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_khr_d3d10_sharing 
    CL_DEVICE_MAX_COMPUTE_UNITS=10
    CL_DEVICE_MAX_CLOCK_FREQUENCY=850
    CL_DEVICE_TYPE=4
    bCLMoreDevicesLeft=FALSE
    OpenCL.dll path=C:\Windows\system32\OpenCL.dll
    bOpenCL=TRUE
    bIsGPU=TRUE



EDIT: I also tried the new version on my other machine, the GeForce one that I tested earlier. I get this output from HelloOpenCL:
getPathFromClassLoader: searching for: OpenCL
Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.
lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.Stri
ng)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.l
ang.String)
getPathFromClassLoader: searching for: lwjgl
Failed to locate findLibrary method: java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.findLibrary(java.
lang.String)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.net.URLClassLoader.findLibrary(java.lang.Stri
ng)
Failed to locate findLibrary method: java.lang.NoSuchMethodException: java.security.SecureClassLoader.findLibrary(java.l
ang.String)
Found 20 OpenCL paths
T
Failed to load C:\Program Files (x86)\Java\jre6\bin\OpenCL.dll: C
T
F

-------------------------
NEW PLATFORM: 83176504
OpenCL 1.0 - Extensions: cl_khr_d3d10_sharing cl_khr_gl_sharing cl_khr_icd
-------------------------
        CL_PLATFORM_PROFILE = FULL_PROFILE
        CL_PLATFORM_VERSION = OpenCL 1.0 CUDA 3.1.1
        CL_PLATFORM_NAME = NVIDIA CUDA
        CL_PLATFORM_VENDOR = NVIDIA Corporation
        CL_PLATFORM_EXTENSIONS = cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_d3d9_sharing cl_nv_d3d
10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unr
oll


        NEW DEVICE: 83176608
OpenCL 1.0 - Extensions: cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_
int32_extended_atomics
        -------------------------
        CL_DEVICE_TYPE = 4
        CL_DEVICE_VENDOR_ID = 4318
        CL_DEVICE_MAX_COMPUTE_UNITS = 2
        CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS = 3
        CL_DEVICE_MAX_WORK_GROUP_SIZE = 512
        CL_DEVICE_MAX_CLOCK_FREQUENCY = 800
        CL_DEVICE_ADDRESS_BITS = 32
        CL_DEVICE_AVAILABLE = true
        CL_DEVICE_COMPILER_AVAILABLE = true
        CL_DEVICE_NAME = GeForce 8400M GS
        CL_DEVICE_VENDOR = NVIDIA Corporation
        CL_DRIVER_VERSION = 258.96
        CL_DEVICE_PROFILE = FULL_PROFILE
        CL_DEVICE_VERSION = OpenCL 1.0 CUDA
Exception in thread "main" org.lwjgl.opencl.OpenCLException: Error Code: CL_INVALID_VALUE (0xFFFFFFE2)
        at org.lwjgl.opencl.Util.throwCLError(Util.java:73)
        at org.lwjgl.opencl.Util.checkCLError(Util.java:66)
        at org.lwjgl.opencl.CL10.clGetDeviceInfo(CL10.java:444)
        at org.lwjgl.opencl.InfoUtilFactory$CLDeviceUtil.getInfo(InfoUtilFactory.java:101)
        at org.lwjgl.opencl.InfoUtilFactory$CLDeviceUtil.getInfo(InfoUtilFactory.java:98)
        at org.lwjgl.opencl.InfoUtilAbstract.getSizeRet(InfoUtilAbstract.java:127)
        at org.lwjgl.opencl.InfoUtilAbstract.getInfoString(InfoUtilAbstract.java:114)
        at org.lwjgl.opencl.CLDevice.getInfoString(CLDevice.java:103)
        at org.lwjgl.test.opencl.HelloOpenCL.printDeviceInfo(HelloOpenCL.java:170)
        at org.lwjgl.test.opencl.HelloOpenCL.execute(HelloOpenCL.java:94)
        at org.lwjgl.test.opencl.HelloOpenCL.main(HelloOpenCL.java:183)


The fractal demo works fine on the GeForce, but there's no change in the fps with the new LWJGL build.

spasi

Hmm. First of all I'm pretty sure you don't have the latest build. Try these:

lwjgl.jar
lwjgl-debug.jar
lwjgl_test.jar
lwjgl.dll

About the CL_PLATFORM_NOT_FOUND_KHR error, I think you're having problems with the ICD. Try to reinstall Stream, I think I read somewhere of people having the same issue. Also make sure [HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors] in the registry has proper values.

Momoko_Fan

Okay I updated to the latest version.
I went to
HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors

and it has two keys:
atiocl.dll
atiocl64.dll

Both of them set to DWORD:0
Setting them to DWORD:1 doesn't do anything.

I uninstalled ATI Stream Developer SDK and re-installed it.
Still getting the same error as before.
And by the way, JOCL Hardware Report works fine.



With the new version on the GeForce I get the same output as before but now instead of the exception I get this line
        CL_DEVICE_EXTENSIONS = cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_d3d9_sharing cl_nv_d3d10
_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unrol
l  cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics

So I think that one's fixed.  :)

But now, DemoFractal doesn't work  :o
Exception in thread "main" java.lang.NoSuchMethodError: org.lwjgl.opencl.CLContext.create(Lorg/lwjgl/opencl/CLPlatform;L
java/util/List;Lorg/lwjgl/opencl/CLContextCallback;Lorg/lwjgl/opengl/Drawable;Ljava/nio/IntBuffer;)Lorg/lwjgl/opencl/CLC
ontext;
        at org.lwjgl.test.opencl.gl.DemoFractal.initCL(DemoFractal.java:300)
        at org.lwjgl.test.opencl.gl.DemoFractal.init(DemoFractal.java:256)
        at org.lwjgl.test.opencl.gl.DemoFractal.main(DemoFractal.java:240)

spasi

AMD error

Hmm. Obviously LWJGL loads OpenCL.dll and is able to detect OpenCL 1.0 (at least) and run clGetPlatformIDs. There's nothing else that runs in between. Can you try a simple test please? Compile and run the following code:

public static void main(String args[]) {
       try {
            CL.create();
        } catch (LWJGLException e) {
            e.printStackTrace();
        }
        IntBuffer num = BufferUtils.createIntBuffer(1);
        int errcode = clGetPlatformIDs(null, num);
        System.out.println("Platform count = " + num.get(0));

        PointerBuffer platforms = BufferUtils.createPointerBuffer(num.get(0));
        errcode = clGetPlatformIDs(platforms, null);
        System.out.println("Platform[0] = " + platforms.get(0));
}


NV error

Are you sure you downloaded and replaced all 4 files I linked above? How exactly do you run the test?

Momoko_Fan

Quote from: spasi on October 01, 2010, 01:20:26
NV error

Are you sure you downloaded and replaced all 4 files I linked above? How exactly do you run the test?
Yes I am sure.

Here's the commandline I am using:
java -cp lwjgl-debug.jar;lwjgl_test.jar org.lwjgl.test.opencl.gl.DemoFractal


Surprisingly enough, if I change the lwjgl-debug.jar to lwjgl.jar, it goes past that error, but I get a black screen, and a OpenCL compiler error:
OpenCL COMPILER OPTIONS:  -D USE_TEXTURE
BUILD LOG: :66: error: use of undeclared identifier 'float3'
            float3 oc = (float3)(
            ^
:71: error: use of undeclared identifier 'oc'
            write_imagef(output, (int2)(ix, iy), (float4)(oc / 255.0, 1.0));


spasi

OK, I've updated the files above, lwjgl-debug.jar was indeed old, sorry about that. Download the 3 jars again and you should also need lwjgl_util.jar in your classpath for the fractal demo. The compiler error should be fixed as well, apparently OpenCL 1.0 didn't have support for 3-component vectors, weird. :)

Momoko_Fan

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x09fb3870, pid=1896, tid=3784
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot(TM) Client VM (17.0-b17 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [nvcompiler.dll+0x493870]
#
# An error report file with more information is saved as:
# E:\DeleteMe2\hs_err_pid1896.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Its attack of the evil errors! There's no escape!
Yeah, you fix a small error, then a bigger one pops up. Big animal eating smaller animal, etc..
The error happens when compiling the program:
org.lwjgl.opencl.CL10.nclBuildProgram(JILjava/nio/ByteBuffer;ILjava/nio/ByteBuffer;IJJJ)I

It seems like a common error that happens with OpenCL program doing incorrect things.
Also, passing the "-forcePBO" argument fixes the issue, so its gotta be in the way textures are handled.

spasi

I switched to my old 8800GTX and managed to fix this. I also applied for NV’s GPU Computing developer program, I'll try to do some tests with their 1.1 implementation when I gain access. Lets hope they release it soon enough, getting crashes because of compilation errors is not good. Btw, my 8800GTX was running the fractal demo at ~230 fps.

I've updated the jars above if you'd like to verify this.

About the clGetPlatformIDs problem on Stream, were you able to run that test code I posted above?

Momoko_Fan

I wasn't able to test it on ATI yet, sorry.
With the latest jars, it seems to work on the GeForce.
Don't worry about the low framerate, the GeForce 8400M GS is an entry level card that has very low performance.
Here's a comparison: http://www.gpureview.com/show_cards.php?card1=474&card2=531
The 8400 has 25.6 GFLOPS, while 8800 has 345.6 GFLOPS.
Thats a ratio of 13:1, so the 17 fps I am getting * 13 = 230, which is the fps you're getting :P

Momoko_Fan

Okay I ran it on the ATI
Platform count = 1
Platform[0] = 87741452


EDIT: Hey what do you know .. The HelloOpenCL test works now!
-------------------------
NEW PLATFORM: 87479308
OpenCL 1.1 - Extensions: cl_khr_d3d10_sharing cl_khr_icd 
-------------------------
        CL_PLATFORM_PROFILE = FULL_PROFILE
        CL_PLATFORM_VERSION = OpenCL 1.1 ATI-Stream-v2.2 (302)
        CL_PLATFORM_NAME = ATI Stream
        CL_PLATFORM_VENDOR = Advanced Micro Devices, Inc.
        CL_PLATFORM_EXTENSIONS = cl_khr_icd cl_amd_event_callback cl_khr_d3d10_sharing


        NEW DEVICE: 89972192
OpenCL 1.1 - Extensions: cl_amd_device_attribute_query cl_amd_fp64 cl_amd_printf cl_ext_device_fission cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
        -------------------------
        CL_DEVICE_TYPE = 2
        CL_DEVICE_VENDOR_ID = 4098
        CL_DEVICE_MAX_COMPUTE_UNITS = 4
        CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS = 3
        CL_DEVICE_MAX_WORK_GROUP_SIZE = 1024
        CL_DEVICE_MAX_CLOCK_FREQUENCY = 2493
        CL_DEVICE_ADDRESS_BITS = 32
        CL_DEVICE_AVAILABLE = true
        CL_DEVICE_COMPILER_AVAILABLE = true
        CL_DEVICE_NAME = Intel(R) Core(TM)2 Quad CPU    Q8300  @ 2.50GHz                
        CL_DEVICE_VENDOR = GenuineIntel                   
        CL_DRIVER_VERSION = 2.0                
        CL_DEVICE_PROFILE = FULL_PROFILE
        CL_DEVICE_VERSION = OpenCL 1.1 ATI-Stream-v2.2 (302)
        CL_DEVICE_EXTENSIONS = cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_printf cl_khr_d3d10_sharing 
        CL_DEVICE_OPENCL_C_VERSION = OpenCL C 1.1 
-TRYING TO EXEC NATIVE KERNEL-
memobjs = 1
memobjs[0].remaining() = 128
Sub Buffer destructed: 89976880
SECOND Buffer destructed: 89980384
FIRST Buffer destructed: 89980384

        NEW DEVICE: 89961696
OpenCL 1.1 - Extensions: cl_amd_device_attribute_query cl_amd_media_ops cl_amd_printf cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
        -------------------------
        CL_DEVICE_TYPE = 4
        CL_DEVICE_VENDOR_ID = 4098
        CL_DEVICE_MAX_COMPUTE_UNITS = 10
        CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS = 3
        CL_DEVICE_MAX_WORK_GROUP_SIZE = 256
        CL_DEVICE_MAX_CLOCK_FREQUENCY = 850
        CL_DEVICE_ADDRESS_BITS = 32
        CL_DEVICE_AVAILABLE = true
        CL_DEVICE_COMPILER_AVAILABLE = true
        CL_DEVICE_NAME = Juniper                                                        
        CL_DEVICE_VENDOR = Advanced Micro Devices, Inc.   
        CL_DRIVER_VERSION = CAL 1.4.815        
        CL_DEVICE_PROFILE = FULL_PROFILE
        CL_DEVICE_VERSION = OpenCL 1.1 ATI-Stream-v2.2 (302)
        CL_DEVICE_EXTENSIONS = cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_printf cl_amd_media_ops cl_khr_d3d10_sharing 
        CL_DEVICE_OPENCL_C_VERSION = OpenCL C 1.1 
Sub Buffer destructed: 89976880
SECOND Buffer destructed: 89980384
FIRST Buffer destructed: 89980384

spasi

Nice! What about the fractal demo?

Momoko_Fan

Fractal works as well .. about 150 fps.

spasi

Cool, I was also able to test on a macbook last night, it works there too except native kernels (probably useless in Java) and GL sharing (we need to re-implement our Mac context implementation?).

So, famous last words I know, but:

Quote from: spasi on September 30, 2010, 19:14:22Matzon, I think I'm done now, feel free to release 2.6 whenever you can.