I just read an assessment of the new IBM/Toshiba/Sony Cell processor: http://www.blachford.info/computer/Cells/Cell0.html I'm wondering, given the description of the processor and some of the challenges, could this be a good opportunity to resurrect Oberon-V? VAOS Bluebottle, anyone? -Jack
--- Jack Johnson <knapjack@gmail.com> wrote:
I just read an assessment of the new IBM/Toshiba/Sony Cell processor:
http://www.blachford.info/computer/Cells/Cell0.html
I'm wondering, given the description of the processor and some of the challenges, could this be a good opportunity to resurrect Oberon-V?
VAOS Bluebottle, anyone?
-Jack
Hello Jack, I had forgotten about Oberon-V. Anyway, wouldn't you be able to do something similair using Active Oberon? After all, it supports operator overloading and the distribution I'm using does have a matrix operations module. I do think it would be a good idea to port BlueBottle to the Playstation III. Actually I had mentioned porting to the PS II a while back. Regards, John M. Drake __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250
Hi John, Hi Jack, I'd be also very interested to see Oberon-V like extensions in (Win)Aos/Bluebottle. In fact, the vector operations of CAPO, for example, do suffer (w.r.t. speed) exactly from not having fast operator overloading and fast array access in other dimensions than 1. I have tried to circumvent these problems by doing a lot of access routines in assembler, but the calling overhead for procedures is too time consuming in the end. I do know that some other people have the same concerns. Felix.
--- Felix Friedrich <friedrich@gsf.de> wrote:
Hi John, Hi Jack,
I'd be also very interested to see Oberon-V like extensions in (Win)Aos/Bluebottle. In fact, the vector operations of CAPO, for example, do suffer (w.r.t. speed) exactly from not having fast operator overloading and fast array access in other dimensions than 1. I have tried to circumvent these problems by doing a lot of access routines in assembler, but the calling overhead for procedures is too time consuming in the end. I do know that some other people have the same concerns.
Felix.
Hello Felix, I've been thinking about this for a while, and I'm having a hard time picturing what you are attempting to do. When I think of vector math I think of things like "add 1000 elements of array1 to 1000 elements of array2". Such operations should not require any procedure overhead beyond the initial procedure call. Also, with respect to fast array access for dimensions higher than 1, have you looked at the MultiArray package? http://www.oberon.ethz.ch/software/MultiArrays.html Regards, John M. Drake __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250
I've been thinking about this for a while, and I'm having a hard time picturing what you are attempting to do. When I think of vector math I think of things like "add 1000 elements of array1 to 1000 elements of array2". Such operations should not require any procedure overhead beyond the initial procedure call. That's exactly what I was thinking of when I wrote the ArrayXd* modules. In fact, they are based on the same idea as Patrick's MulitArray
Hi John, package. The initial goal was to have a most generic solution (without loosing efficiency). Adding one vector to another, for example, was implemented in low level modules (Array1d*) and did not require procedure overheads beyond the initial procedure call. The array part of CAPO has been designed for fast access in various dimensions. For example think of computing the product of two matrices: one has to be accessed column-wise and the other row-wise. If the matrices are large enough then cache-missings occur while computing the product. This problem gets more important when you deal with images or stacks of images and want to compute convolutions etc. Therefore in CAPO there is a mechanism to optimize matrices for access in different dimensions. All index-computations (plus global index checks) have been implemented in inline-Assembler. The many procedure calls on the object level will have to be reduced and in parts be replaced by inline operators. This is work in progress.
Also, with respect to fast array access for dimensions higher than 1, have you looked at the MultiArray package? Yes, there the old efficency problem is also present since computing the index means calling a procedure. The basic principle, however, is the same.
Felix.
participants (3)
-
Felix Friedrich -
Jack Johnson -
John Drake