1name: clpeak 2base: core20 3adopt-info: clpeak 4summary: Benchmarking tool to measure peak capabilities of opencl devices 5description: | 6 A synthetic benchmarking tool to measure peak capabilities of opencl devices. 7 It only measures the peak metrics that can be achieved using vector operations and does not represent a real-world use case 8 9grade: stable 10confinement: classic 11 12apps: 13 clpeak: 14 command: usr/local/bin/clpeak 15 16parts: 17 clpeak: 18 source: . 19 plugin: cmake 20 build-packages: 21 - build-essential 22 - git 23 override-pull: | 24 snapcraftctl pull 25 snapcraftctl set-version "`grep 'VERSION_MAJOR ' cmake/common.cmake | awk -F'[() ]' '{print $3}'`.`grep 'VERSION_MINOR ' cmake/common.cmake | awk -F'[() ]' '{print $3}'`.`grep 'VERSION_PATCH ' cmake/common.cmake | awk -F'[() ]' '{print $3}'`" 26