Skip to content

Commit 759efc8

Browse files
Merge pull request #291 from CliMA/ck/fix_cropping
Fix cropping (CUDA crops by default)
2 parents 9e84d9a + 98e090d commit 759efc8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ClimaTimeSteppers"
22
uuid = "595c0a79-7f3d-439a-bc5a-b232dc3bde79"
33
authors = ["Climate Modeling Alliance"]
4-
version = "0.7.29"
4+
version = "0.7.30"
55

66
[deps]
77
ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"

ext/benchmark_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ function get_trial(f, args, name; device, with_cu_prof = :bprofile, trace = fals
6666
CUDA.@profile trace = trace f(args...)
6767
end
6868
if crop
69+
println(p) # crops by default
70+
else
6971
io = IOContext(stdout, :crop => :horizontal)
7072
show(io, p)
7173
println()
72-
else
73-
println(p)
7474
end
7575
end
7676
println()

0 commit comments

Comments
 (0)