Closed nicolas-guichard closed 1 year ago
Right - I didn't test on any pre-7.0 hardware so didn't notice that. As a quick fix, you can comment out or remove the entire if block, i.e., lines 216-222 in BinRaster.inl
. That's just an optimization for cases where every triangle in a warp overlaps exactly one bin. I'll fix this one way or another in the next release.
Thanks for the report!
Fixed now in latest release - closing.
Trying to run nvdiffrast on a GTX 1050 Mobile (compute capability 6.1), I now get a CUDA build error:
Indeed
__match_any_sync
usage is guarded incommon.h
with an explicit#if __CUDA_ARCH__ >= 700 // Warp match instruction __match_any_sync() is only available on compute capability 7.x and higher
, but there is no such check inBinRaster.inl
.https://github.com/NVlabs/nvdiffrast/blob/a1ec436b449aa2731b560dc096bc824d5ba958ab/nvdiffrast/common/cudaraster/impl/BinRaster.inl#L219