diff options
| author | Marijn Tamis <[email protected]> | 2019-04-01 14:21:09 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2019-04-01 14:21:09 +0200 |
| commit | d243404d4ba88bcf53f7310cc8980b4efe38c19f (patch) | |
| tree | dcc8ce2904e9f813e03f71f825c4d3c9ec565d91 /NvCloth/src/cuda/CuSolver.cpp | |
| parent | Add new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff) | |
| download | nvcloth-1.1.6.tar.xz nvcloth-1.1.6.zip | |
1.1.6 Release.1.1.6
Diffstat (limited to 'NvCloth/src/cuda/CuSolver.cpp')
| -rw-r--r-- | NvCloth/src/cuda/CuSolver.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/NvCloth/src/cuda/CuSolver.cpp b/NvCloth/src/cuda/CuSolver.cpp index 7ef1d32..86f32b3 100644 --- a/NvCloth/src/cuda/CuSolver.cpp +++ b/NvCloth/src/cuda/CuSolver.cpp @@ -36,7 +36,7 @@ #include "CuContextLock.h" #include "CuCheckSuccess.h" #include "../IterationState.h" -#include <PsSort.h> +#include "../Ps/PsSort.h" #include <foundation/PxProfiler.h> #if NV_NVTX @@ -489,8 +489,9 @@ void cloth::CuSolver::beginFrame() uint32_t numThreadsPerBlock = mFactory.mMaxThreadsPerBlock / numClothsPerSM & ~31; if (mFactory.mNumThreadsPerBlock != numThreadsPerBlock) { - checkSuccess( - cuFuncSetBlockShape(mKernelFunction, int(mFactory.mNumThreadsPerBlock = numThreadsPerBlock), 1, 1)); + mFactory.mNumThreadsPerBlock = numThreadsPerBlock; + //checkSuccess( + // cuFuncSetBlockShape(mKernelFunction, int(mFactory.mNumThreadsPerBlock = numThreadsPerBlock), 1, 1)); } // remember num cloths per SM in terms of max shared memory per block |