Skip to content
Discussion options

You must be logged in to vote

The IntVect version works for both GPU and CPU builds, whereas the Box version is for CPU builds only. So you don't actually need to worry about the Box version. It's this way for historical reasons. The GPU support was added in a way that it does not break existing codes. So we added a new interface (i.e., the IntVect version).

I don't think you should change the interface of dummy_cpu_fill_extdir. It does not buy you much. If you really want to, you certainly can. You will need to have your own version of CpuBndryFuncFab. You could also have your own version of PhysBCFunct that does not use CpuBndaryFuncFab and dummy_cpu_fill_exidir at all.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ZiyangHuang
Comment options

@WeiqunZhang
Comment options

@WeiqunZhang
Comment options

@ZiyangHuang
Comment options

Answer selected by ZiyangHuang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants