source: CIVL/examples/cuda/simple.cu@ bb03188

main test-branch
Last change on this file since bb03188 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 205 bytes
Line 
1#include <cuda.h>
2
3__global__ void simple1(void) {
4}
5
6__global__ void simple2(void);
7
8__global__ void simple2(void) {
9
10}
11
12int main(void) {
13 simple1<<<1, 1, 0>>>();
14 simple2<<<1, 1, 0>>>();
15 return 0;
16}
17
18
Note: See TracBrowser for help on using the repository browser.