Skip to content

Instantly share code, notes, and snippets.

@splhack
Last active March 25, 2021 06:24
Show Gist options
  • Save splhack/565df692e0320693d60b2b15e7c9b920 to your computer and use it in GitHub Desktop.
Save splhack/565df692e0320693d60b2b15e7c9b920 to your computer and use it in GitHub Desktop.
--- ./src/main/resources/public/dtd/cjsl-1.11.dtd 2021-02-19 09:34:45.000000000 -0800
+++ ./src/main/resources/public/dtd/cjsl-1.12.dtd 2021-03-24 23:24:22.000000000 -0700
@@ -1,5 +1,5 @@
<!-- ================================================================= -->
-<!-- SpiCue Job Spec DTD ver 1.11 -->
+<!-- SpiCue Job Spec DTD ver 1.12 -->
<!-- [email protected] -->
<!-- ================================================================= -->
@@ -38,7 +38,7 @@
<!-- ================================================================= -->
<!ELEMENT layers (layer+)>
-<!ELEMENT layer (cmd,range,chunk,cores?,threadable?,memory?,gpu?,timeout?,timeout_llu?,tags?,limits?,env*,services?)>
+<!ELEMENT layer (cmd,range,chunk,cores?,threadable?,memory?,gpus?,gpu?,gpu_memory?,timeout?,timeout_llu?,tags?,limits?,env*,services?)>
<!ATTLIST layer
name NMTOKEN #REQUIRED
type (Render | Util | Post) #REQUIRED
@@ -49,7 +49,9 @@
<!ELEMENT cores (#PCDATA)*>
<!ELEMENT threadable (#PCDATA)*>
<!ELEMENT memory (#PCDATA)*>
-<!ELEMENT gpu (#PCDATA)*>
+<!ELEMENT gpus (#PCDATA)*>
+<!ELEMENT gpu (#PCDATA)*> <!-- deprecated: use gpu_memory -->
+<!ELEMENT gpu_memory (#PCDATA)*>
<!ELEMENT timeout (#PCDATA)*>
<!ELEMENT timeout_llu (#PCDATA)*>
<!ELEMENT tags (#PCDATA)*>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment