https://github.com/Microsoft/CNTK
Raw File
Tip revision: 13a2b4bf3bc6fb025f2df2bc6b9c4380e6fa4156 authored by Gaizka Navarro on 11 July 2016, 13:07:01 UTC
Replaces loading EvalDLL dynamically, with import library.
Tip revision: 13a2b4b
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