Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Rouge
[go: Go Back, main page]

{ Rouge }

An elegant, extendable code highlighter written in pure Ruby.

Available on GitHub

#include <cstdio>

__global__ void helloFromGPU() {
    std::printf("Hello World\n");
    __syncthreads();
}

int main() {
    dim3 block(1, 10);
    helloFromGPU<<<1, block>>>();
}