https://github.com/Microsoft/CNTK
Raw File
Tip revision: d781a20ec0a6836eebae539074405cc95a01f704 authored by Mark Hillebrand on 19 April 2016, 11:34:19 UTC
Don't mask exit status
Tip revision: d781a20
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