æè¿CUDAã触ãå§ããç¾å¨ã¯ããã°ã©ãã³ã°ã¬ã¤ãããçç ã®å ¥éããã¹ããèªã¿ãªããå¦ç¿ä¸ã§ãã ãã®ä¸ã§ããã°ã©ã ã®å®è¡æéãç¥ããããªã£ãã®ã§ã以ä¸ã®ãµã¤ããåèã«å®è£ ããã®ã§ããâ¦â¦ã³ã³ãã¤ã«ã¨ã©ã¼ãåºã¦åãã¾ããã§ããã http://www.gdep.jp/page/view/251 /*ã¿ã¤ãã¼ãä½æãã¦è¨æ¸¬éå§*/ unsigned int timer = 0; CUT_SAFE_CALL( cutCreateTimer( &timer)); CUT_SAFE_CALL( cutStartTimer( timer)); // å¦ç /*ã¿ã¤ãã¼ãåæ¢ãããã£ãæéã表示*/ CUT_SAFE_CALL( cutStopTimer( timer)); printf("Processing time: %f (msec)\n", cutGetTimerValue( timer))
{{#tags}}- {{label}}
{{/tags}}