https://github.com/Microsoft/CNTK
Raw File
Tip revision: f7488422dcedcd19df6521386dd65d2a8f9674ff authored by Thiago Crepaldi on 07 August 2018, 00:28:10 UTC
Merge remote-tracking branch 'refs/remotes/origin/thiagofc/test-reset' into thiagofc/test-reset
Tip revision: f748842
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