#include "cumlHandle.hpp"
#include <cuml/common/utils.hpp>
#include <cuml/cuml_api.h>
#include <raft/util/cudart_utils.hpp>
#include <cstddef>
#include <functional>
Functions | |
const char * | cumlGetErrorString (cumlError_t error) |
Get a human readable error string for the passed in error code. More... | |
cumlError_t | cumlCreate (cumlHandle_t *handle, cudaStream_t stream) |
Creates a cumlHandle_t. More... | |
cumlError_t | cumlGetStream (cumlHandle_t handle, cudaStream_t *stream) |
sets the stream to which all cuML work issued via the passed handle should be ordered. More... | |
cumlError_t | cumlDestroy (cumlHandle_t handle) |
Release all resource internally managed by cumlHandle_t. More... | |
cumlError_t cumlCreate | ( | cumlHandle_t * | handle, |
cudaStream_t | stream | ||
) |
Creates a cumlHandle_t.
[in,out] | handle | pointer to the handle to create. |
[in] | stream | the stream to which cuML work should be ordered. |
cumlError_t cumlDestroy | ( | cumlHandle_t | handle | ) |
Release all resource internally managed by cumlHandle_t.
[in,out] | handle | the cumlHandle_t to destroy. |
const char* cumlGetErrorString | ( | cumlError_t | error | ) |
Get a human readable error string for the passed in error code.
[in] | error | the error code to decipher. |
cumlError_t cumlGetStream | ( | cumlHandle_t | handle, |
cudaStream_t * | stream | ||
) |
sets the stream to which all cuML work issued via the passed handle should be ordered.
[in,out] | handle | handle to set the stream for. |
[in] | stream | the stream to which cuML work should be ordered. |