https://github.com/Microsoft/CNTK
Raw File
Tip revision: cbcf5558706659f54a08a94bf3c9ed6bdfc99e95 authored by Emad Barsoum on 01 March 2017, 18:29:17 UTC
Update cv::imdecode
Tip revision: cbcf555
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