Mark A Becker
Home  Me  Portfolio  Words
Send message  Send Message GitHub Google + LinkedIn FaceBook
 WebCL Project - Outline
An Image Processor utilizing WebCL

WMI_Monitor_screenshotDevelopment Purpose:
  • This project was created to explore the usage of the newly developed specification WebCL.
  • It was created as a preliminary project for the larger, more complex project WebCL_Raytracer.
  • The kernel used in this project finds the edges of a given image file.
  • Like OpenCL, WebCL allows for direct access to the many-core environment of the CPU and or GPU.
  • An image processor was developed and used to demonstrate the power of parallelization.
Features:
  • Choosing Images
  • Choosing the run platform and device

Start Application
*Note Firefox and other requirements stated below!
[A new window will open]

Program on GitHub.com...
[A new window will open]


Web Page Interface

Choose Images:Screenshot 2
  • There is two images to choose from to outline. Each image is of different size. With the increase in size comes an increase in run-time.

Choose Device:
  • The page creates a list of appropriate platforms and devices that can be used with the WebCL kernel.
  • Shown is both the Intel and AMD implementation of OpenCL.

Information Output:
  • The 'Information Output' is created after each run. The text is labeled to be self explanatory. Some of the information presented is based on the environment the code (kernel) is run on. The other info is specifically concerning the individual run.
Web Page Interface (cont.)

Scene Created:
  • The largest section of the page is reserved for a displaying of the processed image created. The area is fixed to display a 800 by 600 image. Larger (and smaller) images can be created and scroll bars will be implemented accordingly.

Screenshot 5
Runtime Environment
    The easy part...
  1. This web application can only be run on Firefox browser
  2. The Nokia WebCL extension needs to be installed
  3. WebGL needs to be enabled
  4. WebCL needs to be enabled

    All of this can be checked and or installed at Nokia Research

    The not as easy part...
  5. AMD App Acceleration SDK installed
    AMD Developer Central

  6. Intel SDK for OpenCL installed
    Intel SDK for OpenCL
The FAQ for Nokia Research's WebCL


Runtime Environment Concerns
  • This application runs directly on the GPU or CPU. With that in mind, pushing the adjustments, size, run count, may effect the computer it is run on. There was more than a few times that during development the GPU was overflowed and needed to restart. It also may push the limits of Firefox.
  • Therefore, a certain amount of caution needs to be used. But don't be afraid to use it.

What is a Ray tracer?

Ray tracing is a technique that generates an image by tracing the path of light through pixels in an view plane and simulating the effects of its intersections with virtual objects. Ray tracing is capable of producing an image of photo-realistic quality. usually higher than that of scan-line rendering methods. Unfortunately this level of realism comes at a greater computational cost.

More info from Wikipedia


What is WebCL?

The WebCL working group is working to define a JavaScript binding to the Khronos OpenCL standard for heterogeneous parallel computing. WebCL will enable web applications to harness GPU and multi-core CPU parallel processing from within a Web browser, enabling significant acceleration of applications such as image and video processing and advanced physics for WebGL games.

More info from Khronos


What is Nokia Research doing?

Nokia Research has developed an extension for the Firefox web browser running on Windows and 32-bit Linux.

More info from Nokia Research
Contact   ©2012 Mark Becker