Bug fix for MRG_RandomStreams on GPU:
* 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.
正在显示
请
注册
或者
登录
后发表评论