some fixes

This commit is contained in:
Evghenii
2014-01-30 11:32:27 +01:00
parent eb57852f2e
commit e93c2b88ba
4 changed files with 31 additions and 6 deletions

View File

@@ -13,3 +13,5 @@
#define warpIdx (threadIdx.x >> 5)
#define launch(ntx,nty,ntz,func) if (programIndex==0) func<<<dim3(((ntx)+4-1)/4,nty,ntz),128>>>
#define sync cudaDeviceSynchronize()
#define cif if
#define shuffle(x,y) __shfl(x,y)