Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

support for gpu queue #3642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 21, 2025
Merged
Prev Previous commit
Next Next commit
more readable
  • Loading branch information
mauriliogenovese committed Jan 18, 2025
commit a307845390115b1b65659159c662334b39575ff5
5 changes: 2 additions & 3 deletions 5 nipype/pipeline/engine/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,9 +822,8 @@ def update(self, **opts):
self.inputs.update(**opts)

def is_gpu_node(self):
return (hasattr(self.inputs, 'use_cuda') and self.inputs.use_cuda) or (
hasattr(self.inputs, 'use_gpu') and self.inputs.use_gpu
)
return bool(getattr(self.inputs, 'use_cuda', False)) or bool(
getattr(self.inputs, 'use_gpu', False))


class JoinNode(Node):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.