Skip to content

Instantly share code, notes, and snippets.

View mrprajesh's full-sized avatar
😎
Busy coding 🥇

Rajesh Pandian M mrprajesh

😎
Busy coding 🥇
View GitHub Profile
//~~~START:Mon, 02-Jan-2023, 16:26:44 IST
//~~~Author:Rajesh Pandian M | mrprajesh.co.in
//~ nvc++ -acc -gpu=managed -Minfo=all shuffle-2D-csr2.cpp -o shuffle-2D-csr2.out && ./shuffle-2D-csr2.out
//~ nvc++ -acc=multicore -Minfo=all -fopenmp shuffle-2D-csr2.cpp -o shuffle-2D-csr2.out && ./shuffle-2D-csr2.out
#include <iostream>
#include <random> //default rand in shuffle
#include <algorithm> // shuffle
#include <cstring> // memset