https://github.com/Microsoft/CNTK
Raw File
Tip revision: e46c06a68f4558aa49e7104553071481ec40cf23 authored by Yang Chen on 22 February 2019, 22:10:15 UTC
bump default protobuf version to 3.6.1
Tip revision: e46c06a
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