• gdesjardins's avatar
    Bug fix for MRG_RandomStreams on GPU: · 9483c7c5
    gdesjardins 提交于
    * number fo threads on GPU must be a multiple of NUM_VECTOR_OP_THREADS_PER_BLOCK
    * this means we will have more threads on the GPU than the number of streams we
    actually want.
    * the fix involves making these extra threads do nothing, instead of corrupting
    the stream of random samples !
    
    TODO: review MRG_RandomStreams test suite.
    9483c7c5
rng_mrg.py 28.3 KB