What is a gcc serial?

I am compiling some tests and it says that I can try the gcc-serial option instead of gcc, can someone explain the difference between gcc and gcc serial ?.

The place where it appears is here , and it is mentioned, for example in slide 71. It is mentioned elsewhere, but none of them say what gcc-serial is.

Thank.

+1


source to share


3 answers


The slides refer to a tool from Stanford (PARSEC) for testing multithreaded shared memory programs - parallel programs aka In many cases, "serial" is the opposite of "parallel":



$ cat config/gcc-serial.bldconf
#!/bin/bash
#
# gcc-serial.bldconf - file containing global information necessary to build
#                      the serial versions of the PARSEC programs with gcc
#
# Copyright (C) 2006, 2007 Christian Bienia

# Global configuration is identical to multi-threaded version
source ${PARSECDIR}/config/gcc.bldconf

      

+2


source


I have never heard of gcc-serial

, and I have been using for gcc

quite some time. Can you elaborate on what your tests will tell you? Maybe you meant " gcc -serial

" (with a space after gcc

and before -serial

)? Even so, I still don't know as I can't find any mention of the option -serial

in my manual gcc

.



One version gcc

I am using has options -mserialize-volatile

and -mno-serialize-volatile

that enable and disable, respectively, the generation of code to ensure sequential consistency of access to volatile memory .

+1


source


From the slides, this is the configuration name for the compare tool, not the command you should use. This probably means a special way of using gcc when using the tool.

+1


source







All Articles