Esempio n. 1
0
SEXP R_auto_cuMemcpyDtoD(SEXP r_dstDevice, SEXP r_srcDevice, SEXP r_ByteCount)
{
    SEXP r_ans = R_NilValue;
    CUdeviceptr dstDevice = REAL(r_dstDevice)[0];
    CUdeviceptr srcDevice = REAL(r_srcDevice)[0];
    size_t ByteCount = REAL(r_ByteCount)[0];
    
    CUresult ans;
    ans = cuMemcpyDtoD_v2(dstDevice, srcDevice, ByteCount);
    
    r_ans = Renum_convert_CUresult(ans) ;
    
    return(r_ans);
}
Esempio n. 2
0
CUresult cuMemcpyDtoD(CUdeviceptr dstDevice, CUdeviceptr srcDevice, unsigned int ByteCount)
{
	return cuMemcpyDtoD_v2(dstDevice, srcDevice, ByteCount);
}