https://github.com/Microsoft/CNTK
Raw File
Tip revision: 601977b1697a147758ceebe0004d9627f0c4b2dd authored by liqun fu on 16 April 2020, 03:53:07 UTC
handle BN with sequence axis
Tip revision: 601977b
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