This file contains hidden or 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
const double* b_p = &(B.data()[0]); | |
double* w_p = &(W.data()[0]); | |
for( uint32 i = 0; i < rows; i++ ) //For each row | |
{ | |
double* w_p_row = w_p; | |
typedef double v2df __attribute__ ((vector_size (16))); //Create a type to store a pair of accumulators | |
v2df sum = { 0, 0 }; | |
//Process two pairs at a time |
This file contains hidden or 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
const double* b_p = &(B.data()[0]); | |
double* w_p = &(W.data()[0]); | |
uint32 rows = B.size1(); | |
uint32 cols = B.size2(); | |
for( uint32 i = 0; i < rows; i++ ) //For each row | |
{ | |
myX[i] = 0; | |
double* w_p_row = w_p; |
This file contains hidden or 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
//B is a uBLAS matrix | |
//W is a uBLAS vector | |
//myX is the output | |
for( uint32 i = 0; i < B.size1(); i++ ) //For each row | |
{ | |
myX[i] = 0; | |
for( uint32 j = 0; j < B.size2(); j++ ) //For each col | |
{ |
This file contains hidden or 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
Version | |
------- | |
[~ (master)↑⚡]$ /usr/lib/firefox-10.0.1/firefox --version | |
Mozilla Firefox 10.0.1 | |
[~ (master)↑⚡]$ md5sum /usr/lib/firefox-10.0.1/firefox | |
3fd647a371dfb5e244fa5446e12bd45a /usr/lib/firefox-10.0.1/firefox | |
[~ (master)↑⚡]$ cat /etc/issue | |
Ubuntu 11.10 \n \l | |
[~ (master)↑⚡]$ dpkg -s firefox | |
Package: firefox |
This file contains hidden or 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
import time | |
from Queue import Queue | |
from concurrent import futures | |
import topsort | |
def taskA(): | |
print "Starting task A - sleeping 2s" | |
time.sleep( 2 ) | |
print "Finished task A" |
This file contains hidden or 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
/tmp $ cat spawnShortPipeSleep.sh | |
#!/bin/sh | |
sleep 5 | logger -t ZZZZZ & | |
Running this under bash: | |
/tmp $ bash --version | |
GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) | |
Running this under bash returns immediately: |
This file contains hidden or 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
/* Do *not* directly modify this file. It was */ | |
/* generated by the Configuration Tool; any */ | |
/* changes risk being overwritten. */ | |
/* INPUT minimal.cdb */ | |
/* MODULE PARAMETERS */ | |
-u _FXN_F_nop | |
GBL_USERINITFXN = _FXN_F_nop; |
This file contains hidden or 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
****************************************************************************** | |
TMS320C6x Linker Unix v6.1.19 | |
****************************************************************************** | |
>> Linked Tue Apr 5 10:46:29 2011 | |
OUTPUT FILE NAME: </home/stephen.english/ise/production/build/linux/Tms_None_Heed_Emit_Off_32bit/applications/embedded/minimal_test/minimal_test.out> | |
ENTRY POINT SYMBOL: "_c_int00" address: c00779e0 | |
MEMORY CONFIGURATION |
This file contains hidden or 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
****************************************************************************** | |
TMS320C6x Linker PC v6.1.19 | |
****************************************************************************** | |
>> Linked Tue Apr 05 10:32:09 2011 | |
OUTPUT FILE NAME: <minimal_test.out> | |
ENTRY POINT SYMBOL: "_c_int00" address: c00779e0 | |
MEMORY CONFIGURATION |
This file contains hidden or 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
/* Do *not* directly modify this file. It was */ | |
/* generated by the Configuration Tool; any */ | |
/* changes risk being overwritten. */ | |
/* INPUT minimal.cdb */ | |
/* MODULE PARAMETERS */ | |
-u _FXN_F_nop | |
GBL_USERINITFXN = _FXN_F_nop; |