Small changes
This commit is contained in:
parent
b19551c654
commit
82bfefec66
|
@ -1,3 +1,5 @@
|
|||
using CUDA
|
||||
|
||||
A32 = CUDA.rand(Float32,3,3);
|
||||
B32 = CUDA.rand(Float32,3,3);
|
||||
A64 = CUDA.rand(Float64,3,3);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue