diff --git a/src/nvtt/cuda/CudaCompressDXT.cpp b/src/nvtt/cuda/CudaCompressDXT.cpp index 75d0ac3..fd6ff22 100644 --- a/src/nvtt/cuda/CudaCompressDXT.cpp +++ b/src/nvtt/cuda/CudaCompressDXT.cpp @@ -54,6 +54,7 @@ extern "C" void compressWeightedKernel(uint blockNum, uint * d_data, uint * d_re #include "Bitmaps.h" +// @@ Store this pointer in CompressionOptions. Allocate in ctor, free in dtor. static uint * d_bitmaps = NULL; static void doPrecomputation() diff --git a/src/nvtt/cuda/CudaUtils.cpp b/src/nvtt/cuda/CudaUtils.cpp index 809d791..df9602b 100644 --- a/src/nvtt/cuda/CudaUtils.cpp +++ b/src/nvtt/cuda/CudaUtils.cpp @@ -89,6 +89,8 @@ bool nv::cuda::isHardwarePresent() { return false; } + + // @@ Make sure that warp size == 32 } return count > 0;