GPU Burn 說明
Update 16-03-2020: Versions 1.1 and up support tensor cores.
參考網站
http://wili.cc/blog/gpu-burn.html
https://github.com/wilicc/gpu-burn
使用到的函數說明
1. atoi:將字串轉為整數
#include <stdlib.h>
nt atoi (const char * str);
http://www.cplusplus.com/reference/cstdlib/atoi/
2. srand:設定隨機數種子
#include <stdlib.h>
oid srand (unsigned int seed);
http://www.cplusplus.com/reference/cstdlib/srand/
https://www.itread01.com/content/1546511252.html
3. pipe
#include <unistd.h>
int pipe(int pipefd[2]);
https://www.geeksforgeeks.org/pipe-system-call/
http://burweisnote.blogspot.com/2017/10/pipe.html
https://www.geeksforgeeks.org/c-program-demonstrate-fork-and-pipe/
https://www.itread01.com/content/1541720290.html
http://hugedream.blogspot.com/2009/12/pipe.html
4. fork
#include <unistd.h>
pid_t fork(void);
https://www.geeksforgeeks.org/fork-system-call/
http://burweisnote.blogspot.com/2017/09/fork.html
https://www.itread01.com/articles/1475859025.html
5. std::vector
#include <vector>
http://www.cplusplus.com/reference/vector/vector/
https://mropengate.blogspot.com/2015/07/cc-vector-stl.html
https://openhome.cc/Gossip/CppGossip/vector1.html
6. gettimeofday
#include<sys/time.h>
int gettimeofday(struct timeval*tv,struct timezone *tz )