From e46f917916176d267db1ca0a475d5c6eba4f2977 Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Wed, 1 Apr 2020 04:51:16 +1300 Subject: [PATCH] Added Cuda Fixes: #537 Co-Authored-By: BlahGeek --- README.md | 1 + c/cuda.cu | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 c/cuda.cu diff --git a/README.md b/README.md index 8d736dd9..0f960f7e 100755 --- a/README.md +++ b/README.md @@ -180,6 +180,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo * [Csharp](c/csharp.cs) * [Cson](c/cson.cson) * [Css](c/css.css) +* [Cuda](c/cuda.cu) * [Cuneiform](c/cuneiform.cfl) * [Curry](c/curry.curry) * [Cypherneo4J](c/cypherNeo4j.cypher) diff --git a/c/cuda.cu b/c/cuda.cu new file mode 100644 index 00000000..7d8af324 --- /dev/null +++ b/c/cuda.cu @@ -0,0 +1,10 @@ +#include + +__global__ void hello_world(){ + printf("Hello World\n"); +} + +int main() { + hello_world<<<1,1>>>(); + return 0; +}