Неиспользуемый мусор

This commit is contained in:
2025-12-23 14:58:59 +00:00
parent 3425a81750
commit 0727e1ed03
2 changed files with 0 additions and 14 deletions

View File

@@ -13,16 +13,6 @@
// Структуры данных
// ============================================================================
// SoA (Structure of Arrays) для входных данных на GPU
struct GpuTicksSoA {
double* timestamp;
double* open;
double* high;
double* low;
double* close;
int n;
};
// Результат агрегации одного периода
struct GpuPeriodStats {
int64_t period;
@@ -209,9 +199,6 @@ extern "C" int gpu_is_available() {
int n = 0;
cudaError_t err = cudaGetDeviceCount(&n);
if (err != cudaSuccess) return 0;
if (n > 0) {
// cudaFree(0); // Форсируем инициализацию контекста
}
return (n > 0) ? 1 : 0;
}