Yu-Hsiang M. Tsai

Results 177 comments of Yu-Hsiang M. Tsai

if putting into workspace structre, it will need to have the `set_workspace(id, std::shared_ptr)`. the object life is also extended? if taking out the workspace outside, it requires doing dummy ir...

> Where do you need the lifetime of the residual vector to be extended past its solver's lifetime? It sounds to me like you only want to avoid recomputing the...

I would say with_initial_guess(zero) is changing the LinOp property like Multigrid usage (apply_use_initial_guess = false when enable). but of course, it gives more flexibility to user if they use it...

Rely on user setting the factory parameter. ``` Multigrid::build().with_presmoother( IR::build().with_apply_hint(zero).with_inner_solver(Jacobi::build()), IR::build().with_apply_hint(zero).with_inner_solver(***::build())) ``` with_apply_hint(zero) is required from the user. Because the smoother will be `apply_initial_guess = false`, Multigrid no longer to...

SparsityCsr and RowGatherer support mixed

Something may be related to it. https://github.com/ginkgo-project/ginkgo/pull/654 https://github.com/ginkgo-project/ginkgo/pull/652 1. no, the allocation can happen in the begining of apply. the deconstruction will happen in object deconstruction. 2. I think so....

@pratikvn in your example, if run the function several times, is the arr1 from different run on the same memory or different? ``` // it will mark unused or move...

In current test compilation, hip test has some link problem in ginkgo static library. We use gcc compiler but add the hip linker. It might cause some problems in combining...

@MarcelKoch Yes, it will be added

I think these type needs the dynamic? In short, these are optional in usage. the example you show, it can be done with the standalone free function or use resource_manager....