Csound Csound-dev Csound-tekno Search About

[Cs-dev] parallelism

Date2010-08-19 22:39
FromVictor Lazzarini
Subject[Cs-dev] parallelism
could anyone give me a quick explanation of how to use the
Steven's parallelism in Csound. As far as I understand, it
involves modifying Csound code, but how? I want to try it.

Victo

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-08-19 22:44
FromMichael Gogins
SubjectRe: [Cs-dev] parallelism
AttachmentsNone  None  

Nothing to do, it's already there in the cvs head for a couple of years. Just use --num-threads=4 or whatever.  Of shared data only the output opcodes are currently thread safe, that should soon change.

MKG from cell phone

On Aug 19, 2010 5:35 PM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:

could anyone give me a quick explanation of how to use the
Steven's parallelism in Csound. As far as I understand, it
involves modifying Csound code, but how? I want to try it.

Victo

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2010-08-19 23:04
FromVictor Lazzarini
SubjectRe: [Cs-dev] parallelism
AttachmentsNone  None  
last time I tried I had impression some extra csound code was need (for locks or something), did not realise it was automatic. Does it parallelise instruments or opcode instances?
Victor

On 19 Aug 2010, at 22:44, Michael Gogins wrote:

Nothing to do, it's already there in the cvs head for a couple of years. Just use --num-threads=4 or whatever.  Of shared data only the output opcodes are currently thread safe, that should soon change.

MKG from cell phone


On Aug 19, 2010 5:35 PM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:

could anyone give me a quick explanation of how to use the
Steven's parallelism in Csound. As far as I understand, it
involves modifying Csound code, but how? I want to try it.

Victo

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev _______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2010-08-19 23:06
FromMichael Gogins
SubjectRe: [Cs-dev] parallelism
AttachmentsNone  None  

Steven wanted lock opcodes but jpff and I don't.

Instrument instance and that's still too fine grained, hence 1000 ksmps.

MKG from cell phone

On Aug 19, 2010 6:00 PM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:

last time I tried I had impression some extra csound code was need (for locks or something), did not realise it was automatic. Does it parallelise instruments or opcode instances?
Victor



On 19 Aug 2010, at 22:44, Michael Gogins wrote:

> Nothing to do, it's already there in the cvs he...


------------------------------------------------------------------------------
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2010-08-19 23:41
FromSteven Yi
SubjectRe: [Cs-dev] parallelism
It parallelized on instruments. At the time I expected user locking
would be more efficient than automated locking so went with that,
seeing that we as programmers are still having to add parallelization
by hand to normal coding versus automatic parallelizing compilers.

On Thu, Aug 19, 2010 at 6:06 PM, Michael Gogins
 wrote:
> Steven wanted lock opcodes but jpff and I don't.
>
> Instrument instance and that's still too fine grained, hence 1000 ksmps.
>
> MKG from cell phone
>
> On Aug 19, 2010 6:00 PM, "Victor Lazzarini" 
> wrote:
>
> last time I tried I had impression some extra csound code was need (for
> locks or something), did not realise it was automatic. Does it parallelise
> instruments or opcode instances?
> Victor
>
> On 19 Aug 2010, at 22:44, Michael Gogins wrote:
>
>> Nothing to do, it's already there in the cvs he...
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net