https://github.com/Microsoft/CNTK
Raw File
Tip revision: 4ed189633247ce4a5a6d3c5f1f77422cdd66dc6c authored by liqfu on 17 September 2018, 23:10:48 UTC
set public_build to "no"/false
Tip revision: 4ed1896
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