none
setting appropriate tile size and group size to avoid invalid_compute_domain RRS feed

  • Question

  • I'm running the tiled version of the moving average example from http://drdobbs.com/windows/231600761?pgno=2 (replacing grid with extent for beta 1) and I am getting concurrency::invalid_compute_domain runtime error.

    I am using tile_size 512, series_length 33554432 and window 1024. The extent is greater than 0 and is divisible by the tiled extent.

    what rules must I abide by to set the appropriate tile size, array size and group size (I remember reading something about powers of 2) to get this example to work ?

    Wednesday, March 21, 2012 2:34 PM

Answers

  • oops - serries_length wasnt a multiple of 512 - solved with 16777216. benchmarked at 317ms
    • Marked as answer by JReuben1 Wednesday, March 21, 2012 2:39 PM
    • Edited by JReuben1 Wednesday, March 21, 2012 2:44 PM
    Wednesday, March 21, 2012 2:39 PM