Browse Source

Include GPU properties

Samuel Thibault 11 years ago
parent
commit
6c4b85ee97
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tools/starpu_smpi.xslt
  2. 1 1
      tools/starpu_smpirun.in

+ 1 - 1
tools/starpu_smpi.xslt

@@ -24,7 +24,7 @@ See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
 -->
     <!-- Copy everything by default but keep applying templates.  -->
-    <xsl:template match="platform|AS|host|link|@*">
+    <xsl:template match="platform|AS|host|link|prop|@*">
         <xsl:copy>
             <xsl:apply-templates select="node()|@*"/>
         </xsl:copy>

+ 1 - 1
tools/starpu_smpirun.in

@@ -57,7 +57,7 @@ NODE_PLATFORM=$STARPU_PERF_MODEL_DIR/bus/${STARPU_HOSTNAME}.platform.xml
 EOF
 	tail -n +3 $MPI_PLATFORM | grep -v '<platform' | grep -v '</platform'
 	for i in $(seq 0 $((NP - 1))) ; do
-		xsltproc --novalid --stringparam ASname StarPU-MPI$i $STARPU_DATADIR/starpu/starpu_smpi.xslt $NODE_PLATFORM | tail -n +4 | head -n -1
+		xsltproc --novalid --stringparam ASname StarPU-MPI$i $STARPU_DATADIR/starpu/starpu_smpi.xslt $NODE_PLATFORM | grep -v network/ | tail -n +4 | head -n -1
 	done
 	cat << \EOF
 </AS>