ysh329 / OpenCL-101

Learn OpenCL step by step.
123 stars 31 forks source link

benchmark.py: for auto-benchmark for different variable type (half, short, int, float, double) with matrix size (2048 * 2048) #9

Closed ysh329 closed 6 years ago

ysh329 commented 6 years ago

Considering build is necessary before edited bandwidth.c as type or typeN, it's not elegant to replace code in bandwidth.c and execute ./make.sh. Thus, I wouldn't supply the script benchmarking for different type and matrix size.