Commit 9915dd15 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

Merge branch 'cuda_runtime' into '1.6.x'

Cuda runtime

See merge request !30
parents 057de86e c8ccbb40
Pipeline #21856 failed with stages
in 7 minutes and 57 seconds
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
......@@ -337,7 +337,7 @@ class Host(object):
if container.image in Host.images_cache:
image_infos = Host.images_cache[container.image]
if ('capabilities' in image_infos) and ('gpu' in image_infos['capabilities']):
cmd[0] = 'nvidia-docker'
cmd.append('--runtime=nvidia')
if virtual_memory_in_megabytes:
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment