From 2b716b62daecc6df4616e41477be8d41098f965b Mon Sep 17 00:00:00 2001 From: castano Date: Mon, 7 Jan 2008 07:26:40 +0000 Subject: [PATCH] Add comments. --- src/nvtt/cuda/CudaCompressDXT.cpp | 1 + src/nvtt/cuda/CudaUtils.cpp | 2 ++ 2 files changed, 3 insertions(+) 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;