@prefix LoadListingRequirement: <http://commonwl.org/cwltool#LoadListingRequirement/> .
@prefix NetworkAccess: <http://commonwl.org/cwltool#NetworkAccess/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix Workflow: <https://w3id.org/cwl/cwl#Workflow/> .
@prefix cwl:   <https://w3id.org/cwl/cwl#> .
@prefix sld:   <https://w3id.org/cwl/salad#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix CommandOutputBinding: <https://w3id.org/cwl/cwl#CommandOutputBinding/> .
@prefix ns2:   <http://commonwl.org/cwltool#> .
@prefix ns1:   <https://schema.org/> .
@prefix CUDARequirement: <http://commonwl.org/cwltool#CUDARequirement/> .

<https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#main>
        a                        cwl:Workflow ;
        rdfs:comment             "Print GPU info.\n" ;
        rdfs:label               "Test GPU" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:keywords             "gpu" ;
        ns1:softwareVersion      "0.1.0" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#main/node_hello> ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/v1.2> ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:outputs              <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#main/echo> .

<https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#hello-cl/echo>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "output.txt" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#hello-cl>
        a                        cwl:CommandLineTool ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:softwareVersion      "1.0.0" ;
        cwl:arguments            () ;
        cwl:baseCommand          ( "nvidia-smi" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/v1.2> ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:outputs              <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#hello-cl/echo> ;
        cwl:requirements         [ a                               ns2:CUDARequirement ;
                                   CUDARequirement:cudaComputeCapability
                                           "7.5" ;
                                   CUDARequirement:cudaDeviceCountMax
                                           4 ;
                                   CUDARequirement:cudaDeviceCountMin
                                           1 ;
                                   CUDARequirement:cudaVersionMin  "12.0"
                                 ] ;
        cwl:stdout               "output.txt" .

<https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#main/echo>
        cwl:outputSource  <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#main/node_hello/echo> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#main/node_hello>
        cwl:out  <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#main/node_hello/echo> ;
        cwl:run  <https://w3id.org/cwl/view/git/80e263dce62ab113ab841e7cd99f5c20d5b24a96/tests/wf/hello_gpu.cwl#hello-cl> .
