https://github.com/Microsoft/CNTK
Raw File
Tip revision: a2e31930d3d38ce7fa912b94dab9425b1b1d80c0 authored by thhoens on 16 April 2016, 04:01:41 UTC
Updated some core functions.
Tip revision: a2e3193
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