MAINCLASS=MatrixMultiply
SRC=${MAINCLASS}.java
-FLAGS=-dsm -prefetch -optimize -printflat -profile -debug -excprefetch MatrixMultiply.main -excprefetch MMul.setValues -excprefetch MMul.transpose -mainclass ${MAINCLASS} -o ${MAINCLASS} -trueprob 0.9
+FLAGS=-dsm -prefetch -optimize -printflat -profile -debug -excprefetch MatrixMultiply.main -excprefetch MMul.setValues -excprefetch MMul.transpose -mainclass ${MAINCLASS} -o ${MAINCLASS} -trueprob 0.8
FLAGS2=-dsm -optimize -printflat -profile -debug -excprefetch MatrixMultiply.main -excprefetch MMul.setValues -excprefetch MMul.transpose -mainclass ${MAINCLASS} -o ${MAINCLASS}NP
default:
../../../buildscript ${FLAGS2} ${SRC}
#ifdef THREADS
void CALL01(___Thread______nativeJoin____, struct ___Thread___ * ___this___) {
/* This is an evil, non portable hack*/
- pthread_join((thread_t)___this___->___threadid___, NULL);
+ pthread_join((pthread_t)VAR(___this___)->___threadid___, NULL);
}
void CALL01(___Thread______nativeCreate____, struct ___Thread___ * ___this___) {
usleep(1);
} while(retval!=0);
/* This next statement will likely not work on many machines */
- ___this___->___threadid___=thread;
+ VAR(___this___)->___threadid___=thread;
pthread_attr_destroy(&nattr);
}
# Build bristlecone/java sources
#if ! java -Xms5m -Xmx100m $JAVAFORWARDOPTS -cp $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
-if ! java $JAVAFORWARDOPTS -cp $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
+if ! java $JAVAFORWARDOPTS -classpath $ROBUSTROOT/../cup/:$ROBUSTROOT Main.Main -classlibrary \
$ROBUSTROOT/ClassLibrary/ -dir $BUILDDIR -precise \
$JAVAOPTS $SRCFILES
then exit $?