https://github.com/Microsoft/CNTK
Raw File
Tip revision: 0163ce4ca4d7083646580027f93faf5a5f4f0fe3 authored by yqjieykn on 17 January 2017, 12:47:00 UTC
add Multiverso
Tip revision: 0163ce4
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