Skip to content

Instantly share code, notes, and snippets.

View strikeraryu's full-sized avatar
wubba lubba dub dub

Aryamaan jain strikeraryu

wubba lubba dub dub
  • greater nodia
View GitHub Profile
@strikeraryu
strikeraryu / quick_sort.chpl
Last active April 14, 2021 13:55
Quick-sort algorithm implemented in chapel, I have used Task parallelism to improve upon it.
use List;
config var n_parallel = 4;
/**
for partition of array on a pivot(last element)
arguments
arr int[] (ref) -> array where the partition is done
l int -> left bound
r int -> right bound
returns int ->point of partition