Skip to content

Commit

Permalink
get_graph_type
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloLucibello committed Nov 30, 2024
1 parent 55fe50b commit d207de4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GNNlib/test/msgpass.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,11 @@ end
g = set_edge_weight(g, w)
return propagate(w_mul_xj, g, +, xj = x)
end
dev = gpu_device(force=true)
broken = get_graph_type(g) == :sparse && dev isa AMDGPUDevice
@test test_gradients(
f, g, g.x, w; test_gpu=true, test_grad_f=false, compare_finite_diff=false
) broken=true
) broken=broken
end
end
end

0 comments on commit d207de4

Please sign in to comment.