amdsc21
00c24a58b1
finish elementwise_metric.cu
2023-03-08 22:50:07 +01:00
amdsc21
6fa248b75f
try elementwise_metric.cu
2023-03-08 22:42:48 +01:00
amdsc21
cd743a1ae9
fix DispatchRadixSort
2023-03-08 20:31:23 +01:00
amdsc21
a45005863b
fix DispatchScan
2023-03-08 20:15:33 +01:00
amdsc21
bdcb036592
add context.hip
2023-03-08 07:34:19 +01:00
amdsc21
7a3a9b682a
add device_helpers.hip.h
2023-03-08 07:18:33 +01:00
amdsc21
0a711662c3
add device_helpers.hip.h
2023-03-08 07:10:32 +01:00
amdsc21
312e58ec99
enable rocm, fix common.h
2023-03-08 06:45:03 +01:00
amdsc21
ca8f4e7993
enable rocm, fix stats.cuh
2023-03-08 06:43:06 +01:00
amdsc21
60795f22de
enable rocm, fix linalg_op.cuh
2023-03-08 06:42:20 +01:00
amdsc21
05fdca893f
enable rocm, fix cuda_pinned_allocator.h
2023-03-08 06:39:40 +01:00
amdsc21
d8cc93f3f2
enable rocm, fix algorithm.cuh
2023-03-08 06:38:35 +01:00
amdsc21
62c4efac51
enable rocm, fix transform.h
2023-03-08 06:37:34 +01:00
amdsc21
ba9e00d911
enable rocm, fix hist_util.cuh
2023-03-08 06:36:15 +01:00
amdsc21
d3be67ad8e
enable rocm, fix quantile.cuh
2023-03-08 06:32:09 +01:00
amdsc21
2eb0b6aae4
enable rocm, fix threading_utils.cuh
2023-03-08 06:30:52 +01:00
amdsc21
327f1494f1
enable rocm, fix cuda_context.cuh
2023-03-08 06:29:45 +01:00
amdsc21
f2009533e1
rm hip.h
2023-03-08 06:04:01 +01:00
amdsc21
840f15209c
add HIP flags, common
2023-03-08 03:11:49 +01:00
amdsc21
ed45aa2816
Merge branch 'master' into dev-hui
2023-03-08 00:39:33 +01:00
amdsc21
c51a1c9aae
rename hip.cc to hip
2023-03-07 05:39:53 +01:00
amdsc21
cafbfce51f
add hip.h
2023-03-07 03:46:26 +01:00
amdsc21
6039a71e6c
add hip structure
2023-03-07 02:17:19 +01:00
Jiaming Yuan
cad7401783
Disable gcc parallel extension if openmp is not available. ( #8871 )
...
`<parallel/algorithm>` internally includes the <omp.h> header, which leads to an error
when openmp is not available.
2023-03-06 22:51:06 +08:00
Jiaming Yuan
4d665b3fb0
Restore clang tidy test. ( #8861 )
2023-03-03 13:47:04 -08:00
Rong Ou
2dc22e7aad
Take advantage of C++17 features ( #8858 )
...
---------
Co-authored-by: Hyunsu Philip Cho <chohyu01@cs.washington.edu>
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2023-03-04 00:24:13 +08:00
Rong Ou
d9688f93c7
Support column-split in row partitioner ( #8828 )
2023-02-26 04:43:35 +08:00
Rong Ou
a65ad0bd9c
Support column split in histogram builder ( #8811 )
2023-02-17 22:37:01 +08:00
Jiaming Yuan
c0afdb6786
Fix CPU bin compression with categorical data. ( #8809 )
...
* Fix CPU bin compression with categorical data.
* The bug causes the maximum category to be lesser than 256 or the maximum number of bins when
the input data is dense.
2023-02-16 04:20:34 +08:00
Jiaming Yuan
cce4af4acf
Initial support for quantile loss. ( #8750 )
...
- Add support for Python.
- Add objective.
2023-02-16 02:30:18 +08:00
Jiaming Yuan
282b1729da
Specify the number of threads for parallel sort. ( #8735 )
...
* Specify the number of threads for parallel sort.
- Pass context object into argsort.
- Replace macros with inline functions.
2023-02-16 00:20:19 +08:00
Jiaming Yuan
31d3ec07af
Extract device algorithms. ( #8789 )
2023-02-13 20:53:53 +08:00
Jiaming Yuan
457f704e3d
Add quantile metric. ( #8761 )
2023-02-13 19:07:40 +08:00
Jiaming Yuan
d11a0044cf
Generalize prediction cache. ( #8783 )
...
* Extract most of the functionality into `DMatrixCache`.
* Move API entry to independent file to reduce dependency on `predictor.h` file.
* Add test.
---------
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2023-02-13 12:36:43 +08:00
Jiaming Yuan
17b709acb9
Rename ranking utils to threading utils. ( #8785 )
2023-02-12 05:41:18 +08:00
Jiaming Yuan
70c9b885ef
Extract floating point rounding routines. ( #8771 )
2023-02-12 04:26:41 +08:00
Jiaming Yuan
5f76edd296
Extract make metric name from ranking metric. ( #8768 )
...
- Extract the metric parsing routine from ranking.
- Add a test.
- Accept null for string view.
2023-02-09 18:30:21 +08:00
Jiaming Yuan
48cefa012e
Support multiple alphas for segmented quantile. ( #8758 )
2023-02-07 17:17:59 +08:00
Jiaming Yuan
28bb01aa22
Extract optional weight. ( #8747 )
...
- Extract optional weight from coommon.h to reduce dependency on this header.
- Add test.
2023-02-07 03:11:53 +08:00
Jiaming Yuan
a2e433a089
Fix empty DMatrix with categorical features. ( #8739 )
2023-02-07 00:40:11 +08:00
Rong Ou
66191e9926
Support cpu quantile sketch with column-wise data split ( #8742 )
2023-02-05 14:26:24 +08:00
Jiaming Yuan
3760cede0f
Consistent use of context to specify number of threads. ( #8733 )
...
- Use context in all tests.
- Use context in R.
- Use context in C API DMatrix initialization. (0 threads is used as dft).
2023-01-30 15:25:31 +08:00
Jiaming Yuan
21a28f2cc5
Small refactor for hist builder. ( #8698 )
...
- Use span instead of vector as parameter. No perf change as the builder work on pointer.
- Use const pointer for reg tree.
2023-01-30 14:06:41 +08:00
Jiaming Yuan
cfa994d57f
Multi-target support for L1 error. ( #8652 )
...
- Add matrix support to the median function.
- Iterate through each target for quantile computation.
2023-01-11 05:51:14 +08:00
James Lamb
fa44a33ee6
remove unused variables in JSON-parsing code ( #8627 )
2023-01-04 15:50:33 +08:00
Jiaming Yuan
8d545ab2a2
Implement fit stump. ( #8607 )
2023-01-04 04:14:51 +08:00
Jiaming Yuan
c6a8754c62
Define CUDA Context. ( #8604 )
...
We will transition to non-default and non-blocking CUDA stream.
2022-12-20 15:15:07 +08:00
Jiaming Yuan
a10e4cba4e
Fix linalg iterator. ( #8603 )
2022-12-16 23:05:03 +08:00
Jiaming Yuan
43a647a4dd
Fix inference with categorical feature. ( #8591 )
2022-12-15 17:57:26 +08:00
Rong Ou
15a88ceef0
Fix deprecated CUB calls in CUDA 12.0 ( #8578 )
2022-12-12 17:02:30 +08:00