https://github.com/Microsoft/CNTK
Raw File
Tip revision: ce767fe260b528a1393f572fd25609151cc77653 authored by Ivan Stojiljkovic on 23 December 2016, 17:51:08 UTC
Address CR feedback (Iteration 9)
Tip revision: ce767fe
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