Skip to content

Getting Started

MK edited this page Oct 9, 2019 · 1 revision

The following list of commands show kickstart examples that makes you familiar with pFaces. We assue you already installed pFaces. We assume you can start a terminal session ond change the directory to the one built kernel like the ones in the previous section. For example, we assume you also downloaded and installed the kernel AMYTISS.

Show the help menu:

./pfaces -h

List all availble CPU/GPU/HW-Accelerator devices:

./pfaces -CGH -l

Run and profile the (gpu) version of the kernel (AMYTISS) with an example config file in device from the list all GPUs:

./pfaces -G -k amytiss.gpu -cfg path/to/config.cfg -p -d 1

Run and profile the kernel (AMYTISS) with an example config file in devices #1 and #2 from all CPU/GPU devices, use host-side memory, and tune the kernel on-the-fly before execution:

./pfaces -CG -t -k amytiss -cfg path/to/config.cfg -p -d 1,2 -hm

Run and profile the (cpu) version of the kernel (AMYTISS) with two devices #1 and #2 from all CPU devices using a static job distribution 78% to 22%:

./pfaces -C -k amytiss.cpu -cfg path/to/config.cfg -p -d 1,2 -f 0.78,0.22