Thread: [Perl-openmp-discuss] Matrix Multiplication
Brought to you by:
brettestrade
From: Kai B. <eig...@gm...> - 2025-02-05 02:01:24
|
Hi all, I'm new here. I was invited by Brett because I'm interested in Perl and parallel processing. I want to help improve the repository and make OpenMP more accessible for Perl. I'm looking at this file here: https://github.com/Perl-OpenMP/p5-OpenMP-Simple/blob/master/experiments/3d-matrix.c How do you feel about having the matrix multiplication reimplemented using Strassen's matrix multiplication algorithm? Kai |
From: Brett E. <bre...@gm...> - 2025-02-05 02:50:28
|
That'd rock! One of my thoughts is to have a collections of these sorts of functions ready to use. One procedural note, I'd like to add tests and POD, whenever we add a function. The test can be simple, but sufficient for a sanity check. I say go for it. Issue a PR, I'll offer some constructive feedback about general consistency with the rest of the module and functions; but I'm pretty easy and super excited for the help. Also, you know more than I do about the math and matrix programming - I am sure most people do. :-) Thanks! Brett On Tue, Feb 4, 2025 at 8:01 PM Kai Baker <eig...@gm...> wrote: > Hi all, I'm new here. I was invited by Brett because I'm interested in > Perl and parallel processing. I want to help improve the repository and > make OpenMP more accessible for Perl. > > I'm looking at this file here: > > > https://github.com/Perl-OpenMP/p5-OpenMP-Simple/blob/master/experiments/3d-matrix.c > > How do you feel about having the matrix multiplication reimplemented using > Strassen's matrix multiplication algorithm? > > Kai > _______________________________________________ > Perl-openmp-discuss mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-openmp-discuss > -- This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use or disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Thank you. |
From: Kai B. <eig...@gm...> - 2025-02-05 03:07:45
|
I think tests are fine. Also, I like the challenge of implementing the algorithm in C. I have a background in mathematics and C, so I feel confident I’ll be able to manage it. I don’t know what POD is, can you fill me in? On Tue, Feb 4, 2025 at 8:50 PM Brett Estrade <bre...@gm...> wrote: > That'd rock! One of my thoughts is to have a collections of these sorts of > functions ready to use. One procedural note, I'd like to add tests and POD, > whenever we add a function. The test can be simple, but sufficient for a > sanity check. I say go for it. Issue a PR, I'll offer some constructive > feedback about general consistency with the rest of the module and > functions; but I'm pretty easy and super excited for the help. Also, you > know more than I do about the math and matrix programming - I am sure most > people do. :-) Thanks! > > Brett > > On Tue, Feb 4, 2025 at 8:01 PM Kai Baker <eig...@gm...> wrote: > >> Hi all, I'm new here. I was invited by Brett because I'm interested in >> Perl and parallel processing. I want to help improve the repository and >> make OpenMP more accessible for Perl. >> >> I'm looking at this file here: >> >> >> https://github.com/Perl-OpenMP/p5-OpenMP-Simple/blob/master/experiments/3d-matrix.c >> >> How do you feel about having the matrix multiplication reimplemented >> using Strassen's matrix multiplication algorithm? >> >> Kai >> > _______________________________________________ >> Perl-openmp-discuss mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perl-openmp-discuss > > >> > > -- > This email message is for the sole use of the intended recipient(s) and > may contain confidential and privileged information. Any unauthorized use > or disclosure is prohibited. If you are not the intended recipient, please > contact the sender by reply email and destroy all copies of the original > message. Thank you. > |
From: Brett E. <bre...@gm...> - 2025-02-05 03:12:15
|
POD is just the documentation, "Plain Old Documentation" - you'll see it in the main file, lib/OpenMP/Simple.pm The C code is all in, https://github.com/Perl-OpenMP/p5-OpenMP-Simple/blob/master/share/openmp-simple.h If you find the need to separate into other files, let me know. We can handle that, I just want it to be for the right reasons. Brett On Tue, Feb 4, 2025 at 9:07 PM Kai Baker <eig...@gm...> wrote: > I think tests are fine. Also, I like the challenge of implementing the > algorithm in C. I have a background in mathematics and C, so I feel > confident I’ll be able to manage it. I don’t know what POD is, can you fill > me in? > > On Tue, Feb 4, 2025 at 8:50 PM Brett Estrade <bre...@gm...> > wrote: > >> That'd rock! One of my thoughts is to have a collections of these sorts >> of functions ready to use. One procedural note, I'd like to add tests and >> POD, whenever we add a function. The test can be simple, but sufficient for >> a sanity check. I say go for it. Issue a PR, I'll offer some constructive >> feedback about general consistency with the rest of the module and >> functions; but I'm pretty easy and super excited for the help. Also, you >> know more than I do about the math and matrix programming - I am sure most >> people do. :-) Thanks! >> >> Brett >> >> On Tue, Feb 4, 2025 at 8:01 PM Kai Baker <eig...@gm...> wrote: >> >>> Hi all, I'm new here. I was invited by Brett because I'm interested in >>> Perl and parallel processing. I want to help improve the repository and >>> make OpenMP more accessible for Perl. >>> >>> I'm looking at this file here: >>> >>> >>> https://github.com/Perl-OpenMP/p5-OpenMP-Simple/blob/master/experiments/3d-matrix.c >>> >>> How do you feel about having the matrix multiplication reimplemented >>> using Strassen's matrix multiplication algorithm? >>> >>> Kai >>> >> _______________________________________________ >>> Perl-openmp-discuss mailing list >>> Per...@li... >>> https://lists.sourceforge.net/lists/listinfo/perl-openmp-discuss >> >> >>> >> >> -- >> This email message is for the sole use of the intended recipient(s) and >> may contain confidential and privileged information. Any unauthorized use >> or disclosure is prohibited. If you are not the intended recipient, please >> contact the sender by reply email and destroy all copies of the original >> message. Thank you. >> > -- This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use or disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Thank you. |
From: Kai B. <eig...@gm...> - 2025-02-05 03:21:01
|
Okay, that won’t be a problem. On Tue, Feb 4, 2025 at 9:12 PM Brett Estrade <bre...@gm...> wrote: > POD is just the documentation, "Plain Old Documentation" - you'll see it > in the main file, > > lib/OpenMP/Simple.pm > > The C code is all in, > > > https://github.com/Perl-OpenMP/p5-OpenMP-Simple/blob/master/share/openmp-simple.h > > If you find the need to separate into other files, let me know. We can > handle that, I just want it to be for the right reasons. > > > Brett > > > On Tue, Feb 4, 2025 at 9:07 PM Kai Baker <eig...@gm...> wrote: > >> I think tests are fine. Also, I like the challenge of implementing the >> algorithm in C. I have a background in mathematics and C, so I feel >> confident I’ll be able to manage it. I don’t know what POD is, can you fill >> me in? >> >> On Tue, Feb 4, 2025 at 8:50 PM Brett Estrade <bre...@gm...> >> wrote: >> >>> That'd rock! One of my thoughts is to have a collections of these sorts >>> of functions ready to use. One procedural note, I'd like to add tests and >>> POD, whenever we add a function. The test can be simple, but sufficient for >>> a sanity check. I say go for it. Issue a PR, I'll offer some constructive >>> feedback about general consistency with the rest of the module and >>> functions; but I'm pretty easy and super excited for the help. Also, you >>> know more than I do about the math and matrix programming - I am sure most >>> people do. :-) Thanks! >>> >>> Brett >>> >>> On Tue, Feb 4, 2025 at 8:01 PM Kai Baker <eig...@gm...> wrote: >>> >>>> Hi all, I'm new here. I was invited by Brett because I'm interested in >>>> Perl and parallel processing. I want to help improve the repository and >>>> make OpenMP more accessible for Perl. >>>> >>>> I'm looking at this file here: >>>> >>>> >>>> https://github.com/Perl-OpenMP/p5-OpenMP-Simple/blob/master/experiments/3d-matrix.c >>>> >>>> How do you feel about having the matrix multiplication reimplemented >>>> using Strassen's matrix multiplication algorithm? >>>> >>>> Kai >>>> >>> _______________________________________________ >>>> Perl-openmp-discuss mailing list >>>> Per...@li... >>>> https://lists.sourceforge.net/lists/listinfo/perl-openmp-discuss >>> >>> >>>> >>> >>> -- >>> This email message is for the sole use of the intended recipient(s) and >>> may contain confidential and privileged information. Any unauthorized use >>> or disclosure is prohibited. If you are not the intended recipient, please >>> contact the sender by reply email and destroy all copies of the original >>> message. Thank you. >>> >> > > -- > This email message is for the sole use of the intended recipient(s) and > may contain confidential and privileged information. Any unauthorized use > or disclosure is prohibited. If you are not the intended recipient, please > contact the sender by reply email and destroy all copies of the original > message. Thank you. > |