Search

Categories

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Send mail to the author(s) E-mail

# Sunday, 05 May 2013

Microsoft® Accelerator v2 provides an effective way for applications to implement array-processing operations using the parallel processing capabilities of multi-processor computers.

Accelerator handles all the details of parallelizing and running the computation on the selected target processor, including GPUs and multicore CPUs.

http://research.microsoft.com/en-us/projects/accelerator/

Install DirectX (98MB)

http://www.microsoft.com/en-us/download/details.aspx?id=35

or entire SDK (571MB) – June 2010

“Failure to create a DirectX 9 Device” – error fixed by target change to .NET2.  And running without attaching a debugger.. ie Ctrl-F5

image

To get the AddArrays first sample working:

  • Add ref to c:\Program Files (x86)\Microsoft\Accelerator v2\bin\Managed\Microsoft.Accelerator.dll
  • Target to x64
  • .NET version to 2
  • Copy copy accelerator.dll from C:\Program Files (x86)\Microsoft\Accelerator v2\bin\x64 to bin debug of my project

dxdiag tool useful to see what version of DirectX

image

Non debug…works!

image

Conways Game of Life Sample

Included in the install file for Accelerator

image
Turned ticks down to 1.  So GPU is going at 12%.. and I’ve got 1 core running fairly hard updating the UI

image
Running only on CPU’s.

| | #