Scroll to navigation

POCLCC(1) User Commands POCLCC(1)

NAME

poclcc - compiler for pocl

DESCRIPTION

USAGE: poclcc [OPTION]... [kernel program file]

OPTIONS:

-h

Display the help

-b <options>

Build the program with <options> options

-d <device_type>

Select <device_type> as the device_type for clGetDeviceIDs. Default: CL_DEVICE_TYPE_DEFAULT

-l

List the OpenCL device found (that match the <device_type>)

-i <device_id>

Select the <device_id> opencl device to generate the pocl binary file Default: 0

-o <file>

Write output to <file>

-c

Input is LLVM IR

-s

Input is SPIR-V
March 2026 POCL