mirror of
https://github.com/ggerganov/llama.cpp
synced 2026-03-27 01:21:01 +01:00
* Set C locale for consistent float formatting across all binaries. * Add C locale setting to all tools binaries Add std::setlocale(LC_NUMERIC, "C") to all 16 binaries in the tools/ directory to ensure consistent floating-point formatting. * Apply suggestion from @JohannesGaessler --------- Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
16 lines
251 B
C++
16 lines
251 B
C++
//
|
|
// MIT license
|
|
// Copyright (C) 2024 Intel Corporation
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
|
|
|
|
#include "ggml-sycl.h"
|
|
#include <clocale>
|
|
|
|
int main() {
|
|
std::setlocale(LC_NUMERIC, "C");
|
|
ggml_backend_sycl_print_sycl_devices();
|
|
return 0;
|
|
}
|