Small changes

This commit is contained in:
EddieCueto 2020-08-10 19:33:17 -06:00
parent b19551c654
commit 82bfefec66
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,5 @@
using CUDA
A32 = CUDA.rand(Float32,3,3);
B32 = CUDA.rand(Float32,3,3);
A64 = CUDA.rand(Float64,3,3);

View File

@ -1,3 +1,11 @@
function startingbenchmark()
startpath = pwd()
compilepath = gotocompile(true)
cd("src/neflops/Nvidia")
command = `nsys nvprof julia gpubenchmark.jl`
end
function getgpuflops()
meanflops = open("gpuflops") do f
read(f,String)