[CODEGEN][CUDA][OPENCL] Handle INF and NAN (#3194)
authorlixiaoquan <radioheads@163.com>
Fri, 17 May 2019 17:13:17 +0000 (01:13 +0800)
committerTianqi Chen <tqchen@users.noreply.github.com>
Fri, 17 May 2019 17:13:17 +0000 (10:13 -0700)
commit24fe04f8ddaf607dc1a1f314b9b0c82dfd0ab923
tree2dff7ce8dca14c5116421488403370fa0bc77c8c
parent246b41092981ccc4675cf8c97636745e9e59e370
[CODEGEN][CUDA][OPENCL] Handle INF and NAN (#3194)
src/codegen/codegen_cuda.cc
src/codegen/codegen_cuda.h
src/codegen/codegen_opencl.cc
src/codegen/codegen_opencl.h
tests/python/unittest/test_codegen_cuda.py
tests/python/unittest/test_codegen_opencl.py