MMM
Results 1 to 25 of 43

Thread: ATI Stream SDK V2.0 | OpenCL Full CPU & GPU Support | Introduction

Threaded View

  1. #15
    Xtreme Enthusiast
    Join Date
    Dec 2008
    Location
    Austin, Texas
    Posts
    599
    Quote Originally Posted by Solus Corvus View Post
    After looking at the documentation it seems that I was correct. You shouldn't have to recompile for other architectures because OpenCL enumerates and utilizes resources (GPU/CPU/Cell/Etc) at runtime. A compiled OpenCL Kernel should be able to run on either company's hardware. There is a way to include what they call Native Kernels in your program. They are hardware specific - but they also aren't standard and being able to execute native kernels apparently isn't even a requirement in the standard.
    Brace yourselves. The Kernel is not compiled until just prior to execution (hardware-specific native Kernels seem unlikely in practice since the whole idea is to be hardware independent but the HPC guys might do this) when it is directed to be built/compiled by the application. The compilation step is hardware dependent; if the application is executing on a platform with an x86 processor and an ATI GPU the Kernel will have either path available for compilation, potentially even determined at runtime! So if the GPU is busy, your applications could complile the Kernel for the CPU, execute it, and at a later time, compile it for the GPU, and execute it! You could hold an iner-application race, compiling separate instances for both, one for x86 and one for the GPU, and running them concurrently! I describe some of this in the interview: http://links.amd.com/openinterview
    Last edited by 64NOMIS; 10-13-2009 at 07:45 PM.

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •