解压包

单线程编译:

# gcc -O -mcmodel=medium -DSTREAM_ARRAY_SIZE=100000000 -mcmodel=large -DNTIME=20 stream.c -o stream.o

多线程编译:

# gcc -O -mcmodel=medium -fopenmp -DSTREAM_ARRAY_SIZE=100000000 -mcmodel=large -DNTIME=20 stream.c -o stream.o

执行操作

# ./stream.o  

 

单线程执行结果

aarch执行stream

 

 

多线程执行结果

aarch执行stream

 

 

参考网站:https://blog.csdn.net/liudong124521/article/details/101205119

相关文章:

  • 2021-12-12
  • 2022-12-23
  • 2021-09-26
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-11-02
猜你喜欢
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-02-07
  • 2021-11-04
相关资源
相似解决方案