にゃははー

はへらー

2010-03-26から1日間の記事一覧

これ何がいけないんだろう

#include <stdlib.h> #include <iostream> using namespace std; int main( void ) { float3 h_ptr[ 1024 ][ 1024 ]; float4 *d_ptr = NULL; if ( cudaMalloc( &d_ptr, sizeof( float4 ) * 1024 * 1024 ) != cudaSuccess ) { cout << cudaGetErrorString( cudaGetLastError() ) <</iostream></stdlib.h>…