Reply to comment

Синтаксис cuda

Tagged:  

Всем доброе время суток!
Возник такой новичковый вопрос=)
Где можно найти описание синтаксиса специфичного именно для cuda?
ну например строчки из кодов
__global__ void kernel(int* Mas1, int* Mas2,int* Mas3)
или
CUDA_SAFE_CALL(cudaMalloc((void**) &Mas1_cuda,mem_size));
или
cudaMemcpy(devVec1, vec1, sizeof(float) * SIZE, cudaMemcpyHostToDevice);
ну и прочее подобное. Откуда все кодеры берут это? __global__ void kernel, CUDA_SAFE_CALL, cudaMalloc, cudaMemcpy? Где можно прочитать когда они используются, что означают, какие параметры и тп. Какой нибудь справочник по командам cuda существует?

Заранее спасибо за любой совет!

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <table> <td> <tr> <th>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options

Copyright © 2008-2011 Alex Tutubalin