https://github.com/Microsoft/CNTK
Raw File
Tip revision: f8729df664b1c9f363b0d0d2b0ebcf392a5aec91 authored by t-makrei on 18 July 2017, 17:03:19 UTC
reb
Tip revision: f8729df
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