* [TOPI][OP] Use Thrust sort for argsort and topk The current GPU sort implementation (odd-even transposition sort) is too slow when the number of elements is large. This PR introduces Thrust implementation of sort which is much faster. Note that this change requires CMake 3.8 or later since we have to use nvcc to compile a thrust code. * cmake: make CUDA optional * allow .cu file to be into the repository * pylint fix and cleanup * require cmake 3.8 only when thrust is enabled * fix nvcc compiler error when passing -pthread * add missing include * add USE_THRUST option in config.cmake * retrigger CI * retrigger CI
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
contrib | Loading commit data... | |
crt | Loading commit data... | |
cuda | Loading commit data... | |
graph | Loading commit data... | |
metal | Loading commit data... | |
micro | Loading commit data... | |
opencl | Loading commit data... | |
opengl | Loading commit data... | |
rocm | Loading commit data... | |
rpc | Loading commit data... | |
stackvm | Loading commit data... | |
vm | Loading commit data... | |
vulkan | Loading commit data... | |
builtin_fp16.cc | Loading commit data... | |
c_runtime_api.cc | Loading commit data... | |
container.cc | Loading commit data... | |
cpu_device_api.cc | Loading commit data... | |
dso_library.cc | Loading commit data... | |
file_util.cc | Loading commit data... | |
file_util.h | Loading commit data... | |
library_module.cc | Loading commit data... | |
library_module.h | Loading commit data... | |
meta_data.h | Loading commit data... | |
module.cc | Loading commit data... | |
ndarray.cc | Loading commit data... | |
object.cc | Loading commit data... | |
object_internal.h | Loading commit data... | |
pack_args.h | Loading commit data... | |
registry.cc | Loading commit data... | |
runtime_base.h | Loading commit data... | |
system_library.cc | Loading commit data... | |
thread_pool.cc | Loading commit data... | |
thread_storage_scope.h | Loading commit data... | |
threading_backend.cc | Loading commit data... | |
workspace_pool.cc | Loading commit data... | |
workspace_pool.h | Loading commit data... |