Skip to content
Snippets Groups Projects
Commit 03dd0b54 authored by Fidel Alfaro Almagro's avatar Fidel Alfaro Almagro :speech_balloon:
Browse files

Allowing configuration of cuda parameters

parent ec6ca756
No related branches found
No related tags found
No related merge requests found
Pipeline #17725 passed
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
......@@ -21,17 +21,16 @@ def add_to_pipeline(ctx, pipe, tree):
subj = ctx.subject
# TODO: Make this configurable
cuda_eddy_dict = dict(queue="short.qg@@win-uk-biobank-gpu",
coprocessor="cuda",
coprocessor_class="P",
coprocessor_toolkit="8.0",
cuda_eddy_dict = dict(queue=ctx.get("queue_cuda"),
coprocessor=ctx.get("sge_coprocessor"),
coprocessor_class=ctx.get("sge_coprocessor_class"),
coprocessor_toolkit=ctx.get("sge_cuda_toolkit_eddy"),
name=job_name(diff_eddy.run, subj))
cuda_bedpostx_dict = dict(queue="short.qg@@win-uk-biobank-gpu",
coprocessor="cuda",
coprocessor_class="P",
coprocessor_toolkit="6.5",
cuda_bedpostx_dict = dict(queue=ctx.get("queue_cuda"),
coprocessor=ctx.get("sge_coprocessor"),
coprocessor_class=ctx.get("sge_coprocessor_class"),
coprocessor_toolkit=ctx.get("sge_cuda_toolkit_bedpostx"),
name=job_name(diff_bedpostx.run, subj))
pipe(diff_eddy.run,
submit=cuda_eddy_dict,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment