Skip to content
This repository was archived by the owner on Oct 3, 2018. It is now read-only.
This repository was archived by the owner on Oct 3, 2018. It is now read-only.

Trouble with OpenCL/WebCL Translator samples #72

Description

@wolfviking0

Hi, I just rebuild all the sample using Translator + Validator with LLVM 3.4.

I am working on OSX 10.9 with on HD 4000, I have some weird behavior with validator samples.

——————————

—> Wrong Value result only on GPU

This sample 'Convolution' is working with validator on CPU but with GPU all the value returned are 0

GPU : http://wolfviking0.github.io/webcl-translator/build_book/book.html?sample=1&gl=off&title=Convolution&gpu

GPU + VALIDATOR : http://wolfviking0.github.io/webcl-translator/build_book/book.html?sample=1&gl=off&title=Convolution&gpu&validator=on

——————————

—> Wrong Texture result

The sample must show a sinus curve, it’s a basic OpenGLInterop work perfect without Validator, but the result show incorrect curve/line with Validator.

GPU : http://wolfviking0.github.io/webcl-translator/build_book/book.html?sample=5&gl=on&title=OpenGL%20Interop&gpu

GPU + VALIDATOR : http://wolfviking0.github.io/webcl-translator/build_book/book.html?sample=5&gl=on&title=OpenGL%20Interop&gpu&validator=on

——————————

—> Black Texture result

The sample QJulia show a black screen when it use Validator. This sample doesn’t use interop, but both (with and without interop) are not working.

GPU : http://wolfviking0.github.io/webcl-translator/build_osx/osxsample.html?sample=6&gl=on&title=QJulia%20Copying&gpu

GPU + VALIDATOR : http://wolfviking0.github.io/webcl-translator/build_osx/osxsample.html?sample=6&gl=on&title=QJulia%20Copying&gpu&validator=on

——————————

—> Crash browser

The sample Transpose (and some other like Reduce) are giving a crash when it’s use Validator. If I build natively the sample and try to build the kernel generated I have a segfault.

GPU : http://wolfviking0.github.io/webcl-translator/build_osx/osxsample.html?sample=1&gl=off&title=Transpose&gpu

GPU + VALIDATOR : http://wolfviking0.github.io/webcl-translator/build_osx/osxsample.html?sample=1&gl=off&title=Transpose&gpu&validator=on

——————————

—> Build -11 Exception

Some sample like Scan can’t build the kernel generated and return -11.

GPU : http://wolfviking0.github.io/webcl-translator/build_osx/osxsample.html?sample=3&gl=off&title=Scan&gpu

GPU + VALIDATOR : http://wolfviking0.github.io/webcl-translator/build_osx/osxsample.html?sample=3&gl=off&title=Scan&gpu&validator=on

——————————

—> Wrong color texture

Two sample Mandelbulb and Qjulia are working with validator on CPU but return the result with wrong color.

CPU : http://wolfviking0.github.io/webcl-translator/build_davibu/davibu.html?sample=1&gl=on&title=QJulia&1&0&preprocessed_rendering_kernel.cl&512&512

CPU + VALIDATOR : http://wolfviking0.github.io/webcl-translator/build_davibu/davibu.html?sample=1&gl=on&title=QJulia&1&0&preprocessed_rendering_kernel.cl&512&512&validator=on

——————————

—> Froze of the Computer

The same samples are killing my Mac mini when I launch it on GPU. Take at least 5 minutes for successfully force killing webkit.

GPU : http://wolfviking0.github.io/webcl-translator/build_davibu/davibu.html?sample=1&gl=on&title=QJulia&0&1&preprocessed_rendering_kernel.cl&512&512

GPU + VALIDATOR : http://wolfviking0.github.io/webcl-translator/build_davibu/davibu.html?sample=1&gl=on&title=QJulia&0&1&preprocessed_rendering_kernel.cl&512&512&validator=on

How I say at the beginning, I am working with OSX 10.9 Maverick. Some of this trouble seems not present on Mountain Lion. The WebKit version I use it’s my own build, but it’s updated with the last change of the Samsung Webkit-WebCL repository. The WebKit version core I use it’s from the 19 December 2013 (https://github.com/wolfviking0/webcl-webkit-maverick).

Best regards

Tony

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions