• ziyuang's avatar
    Resolved issue #2055 · f88bb799
    ziyuang 提交于
    Remove the `double round(double)` in pymath.h for Win32 only by defining
    `HAVE_ROUND` via the `-D` switch of `nvcc`.
    The `double round(double x)` function is present in CUDA
    6.5.13/6.0.37/5.5.22/5.5.11/4.1.28/4.0.17, so I think it's safe to remove
    the one in `pymath.h`.
    f88bb799
nvcc_compiler.py 16.9 KB