https://github.com/Microsoft/CNTK
Raw File
Tip revision: a5fb3d6f8d3a694b99280834115c38104aa8559a authored by liqfu on 19 February 2019, 20:48:41 UTC
add more onnx rnn model tests, enable optimizedRNN op test
Tip revision: a5fb3d6
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