Skip to content

Commit ddab6b3

Browse files
authored
Update benchmarks_rocfft.jl
1 parent bef27a2 commit ddab6b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmarks/benchmarks_rocfft.jl

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ for i in 1:p
1414
println("$n -- GPU -- $(timer_gpu)")
1515
ratio = timer_cpu / timer_gpu
1616
println("$n -- RATIO -- $ratio")
17+
AMDGPU.unsafe_free!(x)
1718
end
1819

1920
### ifft ###
@@ -29,4 +30,5 @@ for i in 1:p
2930
println("$n -- GPU -- $(timer_gpu)")
3031
ratio = timer_cpu / timer_gpu
3132
println("$n -- RATIO -- $ratio")
33+
AMDGPU.unsafe_free!(x)
3234
end

0 commit comments

Comments
 (0)