Csound Csound-dev Csound-tekno Search About

More info on Csound on GPU?

Date2016-11-29 14:59
From"d.vyd@outlook.com"
SubjectMore info on Csound on GPU?

Hello,


I first encountered Csound as an undergrad in the 1990s. I didn't do much with it back then. In the last year though, I've started to learn more about it and am REALLY ENJOYING the new book. It is a pleasure to read!


While reading late last night, I noticed that some of the opcodes have been rewritten to run on a GPU. I also found a separate article on that topic from 2014. Is this an ongoing effort? What type of load is on the host computer sending and receiving audio to the GPU? There are several new products to connect laptops to external, high-end GPUs via USB-C, mostly aimed at gamers. Might such a setup be useful to musicians as well?


-david


Date2016-11-29 15:20
FromVictor Lazzarini
SubjectRe: More info on Csound on GPU?
Hi David,

they are experimental opcodes, some of them are in the code base (under Opcodes/cuda) and some more
recent ones are yet to be placed there (I need to tidy up the code and upload them). They require CUDA
and so are designed to work with NVIDIA gpus, but I have also written an experimental OpenCL opcode that
could be used with other gpus, so that can be further developed.

There is an article about the first batch of opcodes:
http://eprints.maynoothuniversity.ie/5853/

and a Master's thesis on the second lot:
https://www.politesi.polimi.it/handle/10589/122542

HTH
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 29 Nov 2016, at 14:59, d.vyd@outlook.com  wrote:
> 
> Hello,
> 
> I first encountered Csound as an undergrad in the 1990s. I didn't do much with it back then. In the last year though, I've started to learn more about it and am REALLY ENJOYING the new book. It is a pleasure to read!
> 
> While reading late last night, I noticed that some of the opcodes have been rewritten to run on a GPU. I also found a separate article on that topic from 2014. Is this an ongoing effort? What type of load is on the host computer sending and receiving audio to the GPU? There are several new products to connect laptops to external, high-end GPUs via USB-C, mostly aimed at gamers. Might such a setup be useful to musicians as well?
> 
> -david
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports tohttps://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-11-29 15:40
From"d.vyd@outlook.com"
SubjectRe: More info on Csound on GPU?

Thank you Victor. I read your article last night and really enjoyed it. I've downloaded Andrea's thesis and skimmed it quickly. The results section is very detailed. It will take me a while to grasp the material. This topic makes me wonder what hardware I might want to purchase in the future!




From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> on behalf of Victor Lazzarini <Victor.Lazzarini@NUIM.IE>
Sent: Tuesday, November 29, 2016 3:20:43 PM
To: CSOUND@LISTSERV.HEANET.IE
Subject: Re: [Csnd] More info on Csound on GPU?
 
Hi David,

they are experimental opcodes, some of them are in the code base (under Opcodes/cuda) and some more
recent ones are yet to be placed there (I need to tidy up the code and upload them). They require CUDA
and so are designed to work with NVIDIA gpus, but I have also written an experimental OpenCL opcode that
could be used with other gpus, so that can be further developed.

There is an article about the first batch of opcodes:
http://eprints.maynoothuniversity.ie/5853/

and a Master's thesis on the second lot:
https://www.politesi.polimi.it/handle/10589/122542

HTH
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 29 Nov 2016, at 14:59, d.vyd@outlook.com <d.vyd@OUTLOOK.COM> wrote:
>
> Hello,
>
> I first encountered Csound as an undergrad in the 1990s. I didn't do much with it back then. In the last year though, I've started to learn more about it and am REALLY ENJOYING the new book. It is a pleasure to read!
>
> While reading late last night, I noticed that some of the opcodes have been rewritten to run on a GPU. I also found a separate article on that topic from 2014. Is this an ongoing effort? What type of load is on the host computer sending and receiving audio to the GPU? There are several new products to connect laptops to external, high-end GPUs via USB-C, mostly aimed at gamers. Might such a setup be useful to musicians as well?
>
> -david
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports tohttps://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here