⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.cpp

📁 用于GPU通用计算的编程语言BrookGPU 0.4
💻 CPP
字号:
// fractal.br// tests kernel splitting of an iterative construct#include <stdio.h>void testFractal( int, int, int* );void testParticleCloth( int, int, int* );void testMatmult( int, int, int* );#include <windows.h>#include <mmsystem.h>#pragma comment(lib,"winmm")int getTime(){
  return (int)timeGetTime();
}void main( int argc, char** argv ){  int time;  int size = atoi( argv[1] );  int count = atoi( argv[2] );  testMatmult( size, count, &time );//  testFractal( size, count, &time );//  testParticleCloth( size, count, &time );  printf( "test size=%d, count=%d, time=%d\n", size, count, time );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -