mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-15 07:19:53 +00:00
llama : add comment about thread-safety [no ci] (#9449)
This commit is contained in:
parent
6102037bbb
commit
739842703e
@ -911,6 +911,8 @@ extern "C" {
|
|||||||
//
|
//
|
||||||
// Tokenization
|
// Tokenization
|
||||||
//
|
//
|
||||||
|
// The API is thread-safe.
|
||||||
|
//
|
||||||
|
|
||||||
/// @details Convert the provided text into tokens.
|
/// @details Convert the provided text into tokens.
|
||||||
/// @param tokens The tokens pointer must be large enough to hold the resulting tokens.
|
/// @param tokens The tokens pointer must be large enough to hold the resulting tokens.
|
||||||
|
Loading…
Reference in New Issue
Block a user