https://github.com/Microsoft/CNTK
Raw File
Tip revision: f310127f7256656846dccd122c9557be10ab29f2 authored by Yang Chen on 16 July 2019, 17:08:27 UTC
enable loading onnx from buffer
Tip revision: f310127
GPUWatcher.h
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//

#pragma once

#include "GPUMatrix.h"

class MATH_API GPUWatcher
{
public:
    static size_t GetFreeMemoryOnCUDADevice(int devId);
    static int GetGPUIdWithTheMostFreeMemory();
    GPUWatcher(void);
    ~GPUWatcher(void);
};
back to top