Properly handle unsupported SETUP_TRANS GPU features#359
Conversation
|
Hi Sam, However the workarounds for LDSPSETUPONLY and LDGRIDONLY should not be deleted and not abort. Let me explain. |
|
Fair enough. So perhaps I should try to actually implement these features for the GPU version? |
Indeed... 😇 |
wdeconinck
left a comment
There was a problem hiding this comment.
Please either restore the mentioned workarounds, or repurpose PR to implement GPU version.
Now that we have API tests for SETUP_TRANS, we should clarify which features are and aren't supported for GPUs. This PR adds abort statements when the following arguments are passed to SETUP_TRANS for GPU:
LDSPSETUPONLY: currently this is ignored with a warningLDLL: currently this is handled with an abort followed by some pointless logicLDGRIDONLY: currently this is ignored with a warningPersonally I think the "warn and carry on" approach is only appropriate for arguments which don't have relevance for the GPU implementation, e.g. "use FFTW". When a feature is requested and the functionality just isn't implemented at all, we should abort (this is what we currently do when the FLT is requested for the GPU version).