Skip to content
Snippets Groups Projects
AddConstant.m 253 B
Newer Older
Eric Wait's avatar
Eric Wait committed
function [cTime,mTime,kernelName] = AddConstant(im,additive)
    kernelName = 'AddConstant';
    cT = tic;
    imC = HIP.AddConstant(im,additive);
Eric Wait's avatar
Eric Wait committed
    cTime = toc(cT);

    mT = tic;
    imM = HIP.AddConstant(im,additive,true);
Eric Wait's avatar
Eric Wait committed
    mTime = toc(mT);