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

http://dangerlover9403.pixnet.net/blog/post/98733652-%5B%E6%95%99%E5%AD%B8%5Dc++-vector%E8%A9%B3%E7%B4%B0%E7%94%A8%E6%B3%95

 

6.  gettimeofday

#include<sys/time.h>
int gettimeofday(struct  timeval*tv,struct  timezone *tz )

https://nosleep.pixnet.net/blog/post/205120138-%E7%A8%8B%E5%BC%8F%E9%96%8B%E7%99%BC-%7C-%5Blinux%5D%5Bc%5D-%E4%BD%BF%E7%94%A8-gettimeofday%28%29-%E5%87%BD%E5%BC%8F%E8%A8%88%E7%AE%97

 

arrow
arrow

    熊熊 發表在 痞客邦 留言(0) 人氣()