OMPD development status

2024-01-18 Thread Mohamed Atef via Gcc
Hello all, Just to remind you, there's an OMPD branch, on the repo: https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/heads/devel/omp/ompd What is in the branch? Initialization of the library (libgompd): the third-party tools can successfully load OMPD allocates memory for the process, i.e. (al

Regarding OMPD

2024-01-18 Thread Mohamed Atef via Gcc
Hello everyone, I'm sorry for not getting back to you this long time. As I mentioned The military service here is a must. Thank God I finished my military service. I am still interested in working on OMPD. Are there any plans for OMPD, soon? Would anyone be able to work with me on some parts of

Bypass assembler when generating LTO object files

2022-12-18 Thread Mohamed Atef via Gcc
Hello, I am interested in working in this project during my free time, is understanding this https://gcc.gnu.org/wiki/LinkTimeOptimization A good starting point Mohamed

Contribution

2022-12-14 Thread Mohamed Atef via Gcc
Hello all, As I mentioned before, I don't have much time to contribute. So is there any way I can contribute some medium project I can work on but myself in the long run? I loved this community, I contributed before so can you suggest some work for me? Mohamed

OMPD patch

2022-11-21 Thread Mohamed Atef via Gcc
Hi all, Sorry for sending this mail lately. As you know my team, and I are responsible for adding OMPD support to libgomp, but the project is still unfinished I added a big part you can find it on devel/omp/ompd/ branch and here in my country the military service is a must so I joined the army an

Re: libgompd output test

2022-06-29 Thread Mohamed Atef via Gcc
On Wed, Jun 29, 2022 at 2:21 PM Jakub Jelinek wrote: > On Wed, Jun 29, 2022 at 06:45:51AM +0200, Mohamed Atef wrote: > > for this test case, > > > > 1.#include > > 2.#include > > 3.int > > 4.main() > > 5.{ > > 6. omp_set_num_threads (5); > > 7. #pragma omp parallel > > 8.{ > > 9. int

libgompd output test

2022-06-28 Thread Mohamed Atef via Gcc
Hello, for this test case, 1.#include 2.#include 3.int 4.main() 5.{ 6. omp_set_num_threads (5); 7. #pragma omp parallel 8.{ 9. int th = omp_get_thread_num (); 10. printf ("i am thread %d\n", th); 11.} 12. return 0; 13.} Reading symbols from a.out... OMPD GDB support loaded

GOMP and gomp

2022-06-25 Thread Mohamed Atef via Gcc
What is the difference between functions with GOMP prefixes and the other with gomp? Mohamed

Re: gomp_affinity_format_len

2022-06-16 Thread Mohamed Atef via Gcc
I cant't get the value of "gomp_affinity_format_let" I used the plugin but it only gives 0 value. if you noticed in the gompd_get_affinity_format i used 100 for the length of the affinity format. Mohamed. في الخميس، ١٦ يونيو، ٢٠٢٢ ٥:٤٦ م Mohamed Atef كتب: > Sorry i found it in affinity-fmt.c >

Re: gomp_affinity_format_len

2022-06-16 Thread Mohamed Atef via Gcc
Sorry i found it in affinity-fmt.c في الخميس، ١٦ يونيو، ٢٠٢٢ ٥:٤١ م Mohamed Atef كتب: > Hello, >this variable doesn't take value. It's always zero. > Is this intended? > > Mohamed >

gomp_affinity_format_len

2022-06-16 Thread Mohamed Atef via Gcc
Hello, this variable doesn't take value. It's always zero. Is this intended? Mohamed

Re: Make cp-demangle non-recursive

2022-06-15 Thread Mohamed Atef via Gcc
Hi Martin, I haven't examin the whole project yet. But i have free time till next October, I mean litterally free time nothing to do. So during this time I think i can work with Jakub on OMPD and work on something in gcc internals. Maybe you can suggest something not very big something that ca

Make cp-demangle non-recursive

2022-06-14 Thread Mohamed Atef via Gcc
Hi, Are there any further details about this project? Thanks Mohamed

OMP_PLACES

2022-05-28 Thread Mohamed Atef via Gcc
Hello, if I want to dump elements of gomp_places_list in a string gomp_affinity_print_place (gomp_places_list[i]); what does this function do ? I read its body, it has only one line (void) p; should I call it before sprintf (temp_buffer, );

OMPD: 5.5.8 Display Control Variables

2022-05-22 Thread Mohamed Atef via Gcc
To implement this , should I add a function in the runtime to dump all the environment variables. Or should I use variables from helper functions? To make the icv-name=icv-value pair I think it will be too costly to use helper

Re: problem with Makefile.in generation in lingomp

2022-05-20 Thread Mohamed Atef via Gcc
The problem is fixed now. Thanks. Should i push again with the first change log في الجمعة، ٢٠ مايو، ٢٠٢٢ ٩:٢٠ م Mohamed Atef كتب: > I cloned he repo again but there is a problem here. > This line is not in the previous repo. > > https://github.com/gcc-mirror/gcc/blob/master/libgomp/plugin/Makefr

Re: problem with Makefile.in generation in lingomp

2022-05-20 Thread Mohamed Atef via Gcc
I cloned he repo again but there is a problem here. This line is not in the previous repo. https://github.com/gcc-mirror/gcc/blob/master/libgomp/plugin/Makefrag.am#L29 في الجمعة، ٢٠ مايو، ٢٠٢٢ ٥:٥٨ م Mohamed Atef كتب: > I am really sorry. > > في الجمعة، ٢٠ مايو، ٢٠٢٢ ٥:٥٨ م Mohamed Atef > كتب:

Re: problem with Makefile.in generation in lingomp

2022-05-20 Thread Mohamed Atef via Gcc
I am really sorry. في الجمعة، ٢٠ مايو، ٢٠٢٢ ٥:٥٨ م Mohamed Atef كتب: > In fact that's why i downloaded the repo again i forget to modify the > copyright and when i tried to repush but i got an error As my branch is not > updated i wanted delete the branch and create new one and push again. > If

Re: problem with Makefile.in generation in lingomp

2022-05-20 Thread Mohamed Atef via Gcc
In fact that's why i downloaded the repo again i forget to modify the copyright and when i tried to repush but i got an error As my branch is not updated i wanted delete the branch and create new one and push again. If you have the authority to remove the last batch please do. في الجمعة، ٢٠ مايو،

Re: problem with Makefile.in generation in lingomp

2022-05-20 Thread Mohamed Atef via Gcc
I use 1.15.1. This is the link to the line I mentioned. https://github.com/gcc-mirror/gcc/blob/master/libgomp/plugin/Makefrag.am#L29 On Fri, May 20, 2022 at 11:40 AM Jakub Jelinek wrote: > On Fri, May 20, 2022 at 11:25:59AM +0200, Mohamed Atef wrote: > >I downloaded the last version of the

problem with Makefile.in generation in lingomp

2022-05-20 Thread Mohamed Atef via Gcc
Hello, I downloaded the last version of the repo, but when I try to autoreconf in libgomp/ i get this error "plugin/Makefrag.am:29: error: libgomp_la_LIBADD must be set with '=' before using '+='" line 29 in libgomp/plugin/Makefrag.am has "libgomp_la_LIBADD += $(DL_LIBS)" I removed this line and

OMPD Copyright

2022-05-19 Thread Mohamed Atef via Gcc
Can OMPD be under our university Copyright? The project is a university project.

OMPD Branch

2022-05-18 Thread Mohamed Atef via Gcc
Hello, Should I commit to devel/omp/gcc-11 branch?

Re: syntax errors

2022-05-10 Thread Mohamed Atef via Gcc
Because the fixed code may output results that you don't want. int x 5; Should it be int x = 5; or int x5; The parsing operation is very hard and takes some time. There is a method called Global correction to implement a compiler that changes the code but besides the reason above it's too costly

Re: Beginning OpenMP Threads

2022-03-07 Thread Mohamed Atef via Gcc
handles parallel region handles Thanks Mohamed On Mon, Mar 7, 2022 at 7:40 PM Martin Jambor wrote: > Hi, > > it's been a while since I had a serious look into libgomp... > > On Fri, Feb 25 2022, Mohamed Atef via Gcc wrote: > > Hello everyone, > > Fr

Beginning OpenMP Threads

2022-02-24 Thread Mohamed Atef via Gcc
Hello everyone, From OpenMP specs. "The OpenMP implementation must execute ompd_bp_thread_begin at every native-thread-begin and initial-thread-begin event. This execution occurs before the thread starts the execution of any OpenMP region" "When terminating an OpenMP thread, the implementation e

OMPD implementation

2022-02-18 Thread Mohamed Atef via Gcc
Hi, Can anyone of OpenMP contributors review my last patch? Thanks Mohamed

adding OMPD support

2022-02-10 Thread Mohamed Atef via Gcc
hello everyone, i want to make the variable ompd_dll_locations global to openMP runtime according to my understanding i should add it to OMP_5.1 {} in libgomp.map and its definition should be done in initialize_env() function in env.c is there anything else needed to be done. another questio

Libtool mismatch

2022-02-09 Thread Mohamed Atef via Gcc
I am trying to add some files to libgomp But i get libtool mismatch error i deleted aclocal.m4 and config.h.* files i still get the same error Version mismatch error. This is libtool 2.4.6 Debian-2.4.6 - 14 But the definition of this LT_INIT comes from libtool 2.2.7a I am a beginner to autotools

Re: Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
d files will be recompiled, won't it? >>>> >>>> >>>> في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٥ م Mir Immad كتب: >>>> >>>>> Make sure to use all the cores available. >>>>> >>>>> make -j N >>>>> >>&g

Re: Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
2022, 12:38 AM Mohamed Atef > wrote: > >> Hello, >> Only modified files will be recompiled, won't it? >> >> >> في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٥ م Mir Immad كتب: >> >>> Make sure to use all the cores available. >>> >>> mak

Re: Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
Hello, Only modified files will be recompiled, won't it? في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٥ م Mir Immad كتب: > Make sure to use all the cores available. > > make -j N > > e.g; make -j 8 > > > On Mon, Feb 7, 2022, 12:26 AM Mohamed Atef via Gcc > wrote: > &g

Compiling GCC source

2022-02-06 Thread Mohamed Atef via Gcc
Hello everyone, I built gcc from the repo and it took around 2 hours but I am wondering should I wait two hours after every modification? Is there any way to recompile faster. That's very important as we will add some files and tests for OMPD. Thanks

Re: GNU OMPD implementation

2021-11-29 Thread Mohamed Atef via Gcc
Hi, I forgot to give full details about macros. after the declaration we got type called ompd_sizeof_(gomp_task) for example then we can use sizeof operator to get its size: #define OMPD_INIT_SIZEOF(t) ompd_sizeof_##t = sizeof(t); OMPD_FOREACH_SIZEOF(OMPD_INIT_SIZEOF) #undef OMPD_INIT_SIZE

Re: GNU OMPD implementation

2021-11-29 Thread Mohamed Atef via Gcc
Hello, for the gdb part it's already understood. gdb documentation explains how to extend gdb functionality using python, and we looked at clang code and now it's very clear how to provide OMPD functions with parameters. >From OpenMP API specification 5.1 section 5.6 "The OpenMP implementatio

GNU OMPD implementation

2021-11-23 Thread Mohamed Atef via Gcc
Hello everyone, I need to remind you that we are working on implementation of OMPD, so you don't make it open for GSoC this year. our progress so far, We are working on a GDB extension using python so we can provide OMPD with callbacks. Jakub said that we need GDB support, but the GDB communit

GNU OMPD implementation

2021-10-29 Thread Mohamed Atef via Gcc
hello everyone, we read chapter 5 and the paper proposed RWTH Aachen University and the others They worked on the same project. some of us will work on OMPD, somebody will work on GDB plugin python script and somebody will work on GDB support as jakub said , but i have some clarifications that migh

Development request

2021-09-19 Thread Mohamed Atef via Gcc
Hello there, We are 6 students from Egypt and now We are in our last year and We need to build a project as a graduation project. And We are interested in the area of runtime systems, operating systems and compilers. We are going to work 40-60 hrs a week Can We help in some tool you need as a gradu