From d8aa6bc45948e8816995f10f1c43d8b634c4075a Mon Sep 17 00:00:00 2001 From: Charles Kawczynski Date: Wed, 19 Jul 2023 15:03:04 -0700 Subject: [PATCH] Test on gpu --- test/Fields/field.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Fields/field.jl b/test/Fields/field.jl index cb711f0306..b2501279e4 100644 --- a/test/Fields/field.jl +++ b/test/Fields/field.jl @@ -698,7 +698,7 @@ convergence_rate(err, Δh) = col_copy = similar(y[Fields.ColumnIndex((1, 1), 1)]) return Fields.Field(Fields.field_values(col_copy), axes(col_copy)) end - device = ClimaComms.CPUSingleThreaded() + device = ClimaComms.device() context = ClimaComms.SingletonCommsContext(device) for zelem in (2^2, 2^3, 2^4, 2^5) for space in TU.all_spaces(FT; zelem, context)