This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <time.h> /* for clock_gettime */ | |
#include <error.h> | |
#include <stdio.h> | |
#include <stdlib.h> /* for exit */ | |
#include <stdarg.h> | |
#include <inttypes.h> | |
#define MILLION 1000000L |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run --rm -it --cpuset-cpus="0" danielsuo/parsec -a run -i test -p blackscholes -n 1 2>&1 | tee -a ./out/blackscholes-test-1-0.out | |
sudo docker run --rm -it --cpuset-cpus="0" danielsuo/parsec -a run -i simdev -p blackscholes -n 1 2>&1 | tee -a ./out/blackscholes-simdev-1-0.out | |
sudo docker run --rm -it --cpuset-cpus="0" danielsuo/parsec -a run -i simsmall -p blackscholes -n 1 2>&1 | tee -a ./out/blackscholes-simsmall-1-0.out | |
sudo docker run --rm -it --cpuset-cpus="0" danielsuo/parsec -a run -i simmedium -p blackscholes -n 1 2>&1 | tee -a ./out/blackscholes-simmedium-1-0.out | |
sudo docker run --rm -it --cpuset-cpus="0" danielsuo/parsec -a run -i simlarge -p blackscholes -n 1 2>&1 | tee -a ./out/blackscholes-simlarge-1-0.out | |
sudo docker run --rm -it --cpuset-cpus="0" danielsuo/parsec -a run -i native -p blackscholes -n 1 2>&1 | tee -a ./out/blackscholes-native-1-0.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys, subprocess | |
apps = [ | |
'blackscholes', | |
'bodytrack', | |
'canneal', | |
'dedup', | |
'facesim', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"language": "Julia", | |
"name": "", | |
"signature": "sha256:bf86d1d75f8c18eac70819da255df50cd505b244107d4c8c00f77449607e4304" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TWEEN.Interpolation = { | |
Linear: function ( v, k ) { | |
var m = v.length - 1, f = m * k, i = Math.floor( f ), fn = TWEEN.Interpolation.Utils.Linear; | |
if ( k < 0 ) return fn( v[ 0 ], v[ 1 ], f ); | |
if ( k > 1 ) return fn( v[ m ], v[ m - 1 ], m - f ); | |
return fn( v[ i ], v[ i + 1 > m ? m : i + 1 ], f - i ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TWEEN.Easing = { | |
Linear: { | |
None: function ( k ) { | |
return k; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementById('button').addEventListener('click', function() { | |
if (BigScreen.enabled) BigScreen.toggle(); | |
else // fallback for browsers that don't support full screen | |
}, false); |
NewerOlder