package main import "fmt" func main() { go func(msg string) { fmt.Println(msg) } ("It's time to 2017") }
回顾2016,参加了好几个比赛,ASC、Google Code Jam、HACK x FDU。暑假的时候去越南玩了一圈~
这一年里还遇到了好多小伙伴~
于是跨年又是和梅子在游戏中度过的,就这样过去了一年了
我还记得最开始的时候还是用 [2013 release];这样的方式跟过去的一年道别,一转眼现在都快出 Swift 4 了,不过个人也比较少做 iOS / macOS 的程序了。
嘛,与其总是怀念过去,不过着眼于未来吧(≧∇≦)
于是2017年准备做的是数学、CUDA 和 Go 语言。你好,2017!
#include <stdio.h> __global__ void hello_2017(void) { int i = threadIdx.x; printf("Hello 2017 <from thread %d>\n", i); } int main(int argc, const char * argv[]) { cudaError_t cudaStatus; int count = 0; cudaDeviceProp prop; cudaStatus = cudaGetDeviceCount(&count); if (cudaStatus == 0) { for (int i = 0; i < count; i++) { cudaGetDeviceProperties(&prop,i); printf("%s <%d.%d>\n", prop.name, prop.major, prop.minor); hello_2017 <<<1, prop.maxThreadsPerBlock>>> (); } } cudaDeviceReset(); return 0; }
新的一年也要萌萌哒哦.。゚+.(・∀・)゚+.゚
呼喵~新的一年雅音酱也要萌萌哒(=゚ω゚)ノ
然后2017一起努力吧~
新的一年也要元气满满哟233
啊啦,你也是哦~在2017一起元气满满吧~
(=´∀`)人(´∀`=)
哇哇哇哇,2017请多指教~
呜哇,2017 请多多指教~
(=´∀`)人(´∀`=)