@@ -259,9 +259,9 @@ LS-SVM with multiple (GPU-)backends
259259Usage:
260260 ./svm-train [OPTION...] training_set_file [model_file]
261261
262- -t, --kernel_type arg set type of kernel function.
262+ -t, --kernel_type arg set type of kernel function.
263263 0 -- linear: u' *v
264- 1 -- polynomial: (gamma*u' * v + coef0)^degree
264+ 1 -- polynomial: (gamma*u' * v + coef0)^degree
265265 2 -- radial basis function: exp(-gamma* | u-v| ^2) (default: 0)
266266 -d, --degree arg set degree in kernel function (default: 3)
267267 -g, --gamma arg set gamma in kernel function (default: 1 / num_features)
@@ -270,11 +270,13 @@ Usage:
270270 -e, --epsilon arg set the tolerance of termination criterion (default: 0.001)
271271 -b, --backend arg choose the backend: openmp| cuda| opencl| sycl (default: openmp)
272272 -p, --target_platform arg choose the target platform: automatic| cpu| gpu_nvidia| gpu_amd| gpu_intel (default: automatic)
273+ --sycl_kernel_invocation_type arg
274+ choose the kernel invocation type when using SYCL as backend: automatic| nd_range| hierarchical (default: automatic)
273275 -q, --quiet quiet mode (no outputs)
274276 -h, --help print this helper message
275277 --input training_set_file
276-
277- --model model_file
278+
279+ --model model_file
278280` ` `
279281
280282An example invocation using the CUDA backend could look like:
@@ -289,13 +291,17 @@ Another example targeting NVIDIA GPUs using the SYCL backend looks like:
289291./svm-train --backend sycl --target_platform gpu_nvidia --input /path/to/data_file
290292` ` `
291293
292- The ` --target_platform=automatic` flags works for the different backends as follows:
294+ The ` --target_platform=automatic` flag works for the different backends as follows:
293295
294296- ` OpenMP` : always selects a CPU
295297- ` CUDA` : always selects an NVIDIA GPU (if no NVIDIA GPU is available, throws an exception)
296298- ` OpenCL` : tries to find available devices in the following order: NVIDIA GPUs 🠦 AMD GPUs 🠦 Intel GPUs 🠦 CPU
297299- ` SYCL` : tries to find available devices in the following order: NVIDIA GPUs 🠦 AMD GPUs 🠦 Intel GPUs 🠦 CPU
298300
301+ The ` --sycl_kernel_invocation_type` flag is only used if the ` --backend` is ` sycl` , otherwise a warning is emitted on ` stderr` .
302+ If the ` --sycl_kernel_invocation_type` is ` automatic` , the ` nd_range` invocation type is always used,
303+ except for hipSYCL on CPUs where the hierarchical formulation is used instead.
304+
299305# ## Predicting
300306
301307` ` ` bash
0 commit comments