https://github.com/Microsoft/CNTK
Raw File
Tip revision: 1fd8785d61f07378744ddcd0dc3125cdd4b3c7af authored by MihawkHu on 11 July 2019, 01:18:50 UTC
RNNT init7
Tip revision: 1fd8785
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