How To Install libclc on Fedora 36

In this tutorial we learn how to install libclc in Fedora 36. libclc is An open source implementation of the OpenCL 1.1 library requirements

Introduction

In this tutorial we learn how to install libclc on Fedora 36.

What is libclc

libclc is an open source, BSD licensed implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. The following sections of the specification impose library requirements * 6.1 * 6.2.3 * 6.2.4.2 * 6.9 * 6.11 * 9.3 * 9.4 * 9.5 * 9.6 libclc is intended to be used with the Clang compiler’s OpenCL frontend. libclc is designed to be portable and extensible. To this end, it provides generic implementations of most library requirements, allowing the target to override the generic implementation at the granularity of individual functions. libclc currently only supports the PTX target, but support for more targets is welcome.

We can use yum or dnf to install libclc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libclc.

Install libclc on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libclc using dnf by running the following command:

sudo dnf -y install libclc

Install libclc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libclc using yum by running the following command:

sudo yum -y install libclc

How To Uninstall libclc on Fedora 36

To uninstall only the libclc package we can use the following command:

sudo dnf remove libclc

libclc Package Contents on Fedora 36

---
title: "How To Install libclc on Fedora 36"
linkTitle: "libclc"
type: "docs"
description: "In this tutorial we learn how to install libclc in Fedora 36. libclc is An open source implementation of the OpenCL 1.1 library requirements"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libclc-featured.png
---

## Introduction

In this tutorial we learn how to install `libclc` on Fedora 36.

### What is `libclc`

> libclc is an open source, BSD licensed implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. The following sections of the specification impose library requirements    * 6.1   * 6.2.3   * 6.2.4.2   * 6.9   * 6.11   * 9.3   * 9.4   * 9.5   * 9.6  libclc is intended to be used with the Clang compiler's OpenCL frontend.  libclc is designed to be portable and extensible. To this end, it provides generic implementations of most library requirements, allowing the target to override the generic implementation at the granularity of individual functions.  libclc currently only supports the PTX target, but support for more targets is welcome.  

We can use `yum` or `dnf` to install `libclc` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libclc.

## Install libclc on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install libclc using dnf by running the following command:

sudo dnf -y install libclc

Install libclc on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libclc using yum by running the following command:

sudo yum -y install libclc

How To Uninstall libclc on Fedora 36

To uninstall only the libclc package we can use the following command:

sudo dnf remove libclc

libclc Package Contents on Fedora 36

/usr/include/clc
/usr/include/clc/as_type.h
/usr/include/clc/async
/usr/include/clc/async/async_work_group_copy.h
/usr/include/clc/async/async_work_group_copy.inc
/usr/include/clc/async/async_work_group_strided_copy.h
/usr/include/clc/async/async_work_group_strided_copy.inc
/usr/include/clc/async/gentype.inc
/usr/include/clc/async/prefetch.h
/usr/include/clc/async/prefetch.inc
/usr/include/clc/async/wait_group_events.h
/usr/include/clc/atom_decl_int32.inc
/usr/include/clc/atom_decl_int64.inc
/usr/include/clc/atomic
/usr/include/clc/atomic/atomic_add.h
/usr/include/clc/atomic/atomic_and.h
/usr/include/clc/atomic/atomic_cmpxchg.h
/usr/include/clc/atomic/atomic_dec.h
/usr/include/clc/atomic/atomic_decl.inc
/usr/include/clc/atomic/atomic_inc.h
/usr/include/clc/atomic/atomic_max.h
/usr/include/clc/atomic/atomic_min.h
/usr/include/clc/atomic/atomic_or.h
/usr/include/clc/atomic/atomic_sub.h
/usr/include/clc/atomic/atomic_xchg.h
/usr/include/clc/atomic/atomic_xor.h
/usr/include/clc/cl_khr_global_int32_base_atomics
/usr/include/clc/cl_khr_global_int32_base_atomics/atom_add.h
/usr/include/clc/cl_khr_global_int32_base_atomics/atom_cmpxchg.h
/usr/include/clc/cl_khr_global_int32_base_atomics/atom_dec.h
/usr/include/clc/cl_khr_global_int32_base_atomics/atom_inc.h
/usr/include/clc/cl_khr_global_int32_base_atomics/atom_sub.h
/usr/include/clc/cl_khr_global_int32_base_atomics/atom_xchg.h
/usr/include/clc/cl_khr_global_int32_extended_atomics
/usr/include/clc/cl_khr_global_int32_extended_atomics/atom_and.h
/usr/include/clc/cl_khr_global_int32_extended_atomics/atom_max.h
/usr/include/clc/cl_khr_global_int32_extended_atomics/atom_min.h
/usr/include/clc/cl_khr_global_int32_extended_atomics/atom_or.h
/usr/include/clc/cl_khr_global_int32_extended_atomics/atom_xor.h
/usr/include/clc/cl_khr_int64_base_atomics
/usr/include/clc/cl_khr_int64_base_atomics/atom_add.h
/usr/include/clc/cl_khr_int64_base_atomics/atom_cmpxchg.h
/usr/include/clc/cl_khr_int64_base_atomics/atom_dec.h
/usr/include/clc/cl_khr_int64_base_atomics/atom_inc.h
/usr/include/clc/cl_khr_int64_base_atomics/atom_sub.h
/usr/include/clc/cl_khr_int64_base_atomics/atom_xchg.h
/usr/include/clc/cl_khr_int64_extended_atomics
/usr/include/clc/cl_khr_int64_extended_atomics/atom_and.h
/usr/include/clc/cl_khr_int64_extended_atomics/atom_max.h
/usr/include/clc/cl_khr_int64_extended_atomics/atom_min.h
/usr/include/clc/cl_khr_int64_extended_atomics/atom_or.h
/usr/include/clc/cl_khr_int64_extended_atomics/atom_xor.h
/usr/include/clc/cl_khr_local_int32_base_atomics
/usr/include/clc/cl_khr_local_int32_base_atomics/atom_add.h
/usr/include/clc/cl_khr_local_int32_base_atomics/atom_cmpxchg.h
/usr/include/clc/cl_khr_local_int32_base_atomics/atom_dec.h
/usr/include/clc/cl_khr_local_int32_base_atomics/atom_inc.h
/usr/include/clc/cl_khr_local_int32_base_atomics/atom_sub.h
/usr/include/clc/cl_khr_local_int32_base_atomics/atom_xchg.h
/usr/include/clc/cl_khr_local_int32_extended_atomics
/usr/include/clc/cl_khr_local_int32_extended_atomics/atom_and.h
/usr/include/clc/cl_khr_local_int32_extended_atomics/atom_max.h
/usr/include/clc/cl_khr_local_int32_extended_atomics/atom_min.h
/usr/include/clc/cl_khr_local_int32_extended_atomics/atom_or.h
/usr/include/clc/cl_khr_local_int32_extended_atomics/atom_xor.h
/usr/include/clc/clc.h
/usr/include/clc/clcfunc.h
/usr/include/clc/clcmacros.h
/usr/include/clc/clctypes.h
/usr/include/clc/common
/usr/include/clc/common/degrees.h
/usr/include/clc/common/degrees.inc
/usr/include/clc/common/mix.h
/usr/include/clc/common/mix.inc
/usr/include/clc/common/radians.h
/usr/include/clc/common/radians.inc
/usr/include/clc/common/sign.h
/usr/include/clc/common/smoothstep.h
/usr/include/clc/common/smoothstep.inc
/usr/include/clc/common/step.h
/usr/include/clc/common/step.inc
/usr/include/clc/convert.h
/usr/include/clc/explicit_fence
/usr/include/clc/explicit_fence/explicit_memory_fence.h
/usr/include/clc/float
/usr/include/clc/float/definitions.h
/usr/include/clc/geometric
/usr/include/clc/geometric/cross.h
/usr/include/clc/geometric/distance.h
/usr/include/clc/geometric/distance.inc
/usr/include/clc/geometric/dot.h
/usr/include/clc/geometric/dot.inc
/usr/include/clc/geometric/fast_distance.h
/usr/include/clc/geometric/fast_distance.inc
/usr/include/clc/geometric/fast_length.h
/usr/include/clc/geometric/fast_length.inc
/usr/include/clc/geometric/fast_normalize.h
/usr/include/clc/geometric/fast_normalize.inc
/usr/include/clc/geometric/floatn.inc
/usr/include/clc/geometric/length.h
/usr/include/clc/geometric/length.inc
/usr/include/clc/geometric/normalize.h
/usr/include/clc/geometric/normalize.inc
/usr/include/clc/image
/usr/include/clc/image/image.h
/usr/include/clc/image/image_defines.h
/usr/include/clc/integer
/usr/include/clc/integer/abs.h
/usr/include/clc/integer/abs.inc
/usr/include/clc/integer/abs_diff.h
/usr/include/clc/integer/abs_diff.inc
/usr/include/clc/integer/add_sat.h
/usr/include/clc/integer/add_sat.inc
/usr/include/clc/integer/clz.h
/usr/include/clc/integer/clz.inc
/usr/include/clc/integer/definitions.h
/usr/include/clc/integer/gentype.inc
/usr/include/clc/integer/hadd.h
/usr/include/clc/integer/hadd.inc
/usr/include/clc/integer/integer-gentype.inc
/usr/include/clc/integer/mad24.h
/usr/include/clc/integer/mad24.inc
/usr/include/clc/integer/mad_hi.h
/usr/include/clc/integer/mad_sat.h
/usr/include/clc/integer/mad_sat.inc
/usr/include/clc/integer/mul24.h
/usr/include/clc/integer/mul24.inc
/usr/include/clc/integer/mul_hi.h
/usr/include/clc/integer/mul_hi.inc
/usr/include/clc/integer/popcount.h
/usr/include/clc/integer/rhadd.h
/usr/include/clc/integer/rhadd.inc
/usr/include/clc/integer/rotate.h
/usr/include/clc/integer/rotate.inc
/usr/include/clc/integer/sub_sat.h
/usr/include/clc/integer/sub_sat.inc
/usr/include/clc/integer/unary.inc
/usr/include/clc/integer/upsample.h
/usr/include/clc/math
/usr/include/clc/math/acos.h
/usr/include/clc/math/acosh.h
/usr/include/clc/math/acospi.h
/usr/include/clc/math/asin.h
/usr/include/clc/math/asinh.h
/usr/include/clc/math/asinpi.h
/usr/include/clc/math/atan.h
/usr/include/clc/math/atan2.h
/usr/include/clc/math/atan2pi.h
/usr/include/clc/math/atanh.h
/usr/include/clc/math/atanpi.h
/usr/include/clc/math/binary_decl.inc
/usr/include/clc/math/binary_decl_tt.inc
/usr/include/clc/math/cbrt.h
/usr/include/clc/math/ceil.h
/usr/include/clc/math/copysign.h
/usr/include/clc/math/cos.h
/usr/include/clc/math/cosh.h
/usr/include/clc/math/cospi.h
/usr/include/clc/math/erf.h
/usr/include/clc/math/erfc.h
/usr/include/clc/math/exp.h
/usr/include/clc/math/exp10.h
/usr/include/clc/math/exp2.h
/usr/include/clc/math/expm1.h
/usr/include/clc/math/fabs.h
/usr/include/clc/math/fdim.h
/usr/include/clc/math/floor.h
/usr/include/clc/math/fma.h
/usr/include/clc/math/fmax.h
/usr/include/clc/math/fmin.h
/usr/include/clc/math/fmod.h
/usr/include/clc/math/fract.h
/usr/include/clc/math/fract.inc
/usr/include/clc/math/frexp.h
/usr/include/clc/math/frexp.inc
/usr/include/clc/math/gentype.inc
/usr/include/clc/math/half_cos.h
/usr/include/clc/math/half_divide.h
/usr/include/clc/math/half_exp.h
/usr/include/clc/math/half_exp10.h
/usr/include/clc/math/half_exp2.h
/usr/include/clc/math/half_log.h
/usr/include/clc/math/half_log10.h
/usr/include/clc/math/half_log2.h
/usr/include/clc/math/half_powr.h
/usr/include/clc/math/half_recip.h
/usr/include/clc/math/half_rsqrt.h
/usr/include/clc/math/half_sin.h
/usr/include/clc/math/half_sqrt.h
/usr/include/clc/math/half_tan.h
/usr/include/clc/math/hypot.h
/usr/include/clc/math/ilogb.h
/usr/include/clc/math/ilogb.inc
/usr/include/clc/math/ldexp.h
/usr/include/clc/math/ldexp.inc
/usr/include/clc/math/lgamma.h
/usr/include/clc/math/lgamma_r.h
/usr/include/clc/math/lgamma_r.inc
/usr/include/clc/math/log.h
/usr/include/clc/math/log10.h
/usr/include/clc/math/log1p.h
/usr/include/clc/math/log2.h
/usr/include/clc/math/logb.h
/usr/include/clc/math/mad.h
/usr/include/clc/math/maxmag.h
/usr/include/clc/math/minmag.h
/usr/include/clc/math/modf.h
/usr/include/clc/math/modf.inc
/usr/include/clc/math/nan.h
/usr/include/clc/math/nan.inc
/usr/include/clc/math/native_cos.h
/usr/include/clc/math/native_divide.h
/usr/include/clc/math/native_exp.h
/usr/include/clc/math/native_exp10.h
/usr/include/clc/math/native_exp2.h
/usr/include/clc/math/native_log.h
/usr/include/clc/math/native_log10.h
/usr/include/clc/math/native_log2.h
/usr/include/clc/math/native_powr.h
/usr/include/clc/math/native_recip.h
/usr/include/clc/math/native_rsqrt.h
/usr/include/clc/math/native_sin.h
/usr/include/clc/math/native_sqrt.h
/usr/include/clc/math/native_tan.h
/usr/include/clc/math/nextafter.h
/usr/include/clc/math/pow.h
/usr/include/clc/math/pown.h
/usr/include/clc/math/pown.inc
/usr/include/clc/math/powr.h
/usr/include/clc/math/remainder.h
/usr/include/clc/math/remquo.h
/usr/include/clc/math/remquo.inc
/usr/include/clc/math/rint.h
/usr/include/clc/math/rootn.h
/usr/include/clc/math/rootn.inc
/usr/include/clc/math/round.h
/usr/include/clc/math/rsqrt.h
/usr/include/clc/math/sin.h
/usr/include/clc/math/sincos.h
/usr/include/clc/math/sincos.inc
/usr/include/clc/math/sinh.h
/usr/include/clc/math/sinpi.h
/usr/include/clc/math/sqrt.h
/usr/include/clc/math/tan.h
/usr/include/clc/math/tanh.h
/usr/include/clc/math/tanpi.h
/usr/include/clc/math/ternary_decl.inc
/usr/include/clc/math/tgamma.h
/usr/include/clc/math/trunc.h
/usr/include/clc/math/unary_decl.inc
/usr/include/clc/misc
/usr/include/clc/misc/shuffle.h
/usr/include/clc/misc/shuffle2.h
/usr/include/clc/relational
/usr/include/clc/relational/all.h
/usr/include/clc/relational/any.h
/usr/include/clc/relational/binary_decl.inc
/usr/include/clc/relational/bitselect.h
/usr/include/clc/relational/bitselect.inc
/usr/include/clc/relational/floatn.inc
/usr/include/clc/relational/isequal.h
/usr/include/clc/relational/isfinite.h
/usr/include/clc/relational/isgreater.h
/usr/include/clc/relational/isgreaterequal.h
/usr/include/clc/relational/isinf.h
/usr/include/clc/relational/isless.h
/usr/include/clc/relational/islessequal.h
/usr/include/clc/relational/islessgreater.h
/usr/include/clc/relational/isnan.h
/usr/include/clc/relational/isnormal.h
/usr/include/clc/relational/isnotequal.h
/usr/include/clc/relational/isordered.h
/usr/include/clc/relational/isunordered.h
/usr/include/clc/relational/select.h
/usr/include/clc/relational/select.inc
/usr/include/clc/relational/signbit.h
/usr/include/clc/relational/unary_decl.inc
/usr/include/clc/shared
/usr/include/clc/shared/clamp.h
/usr/include/clc/shared/clamp.inc
/usr/include/clc/shared/max.h
/usr/include/clc/shared/max.inc
/usr/include/clc/shared/min.h
/usr/include/clc/shared/min.inc
/usr/include/clc/shared/vload.h
/usr/include/clc/shared/vstore.h
/usr/include/clc/synchronization
/usr/include/clc/synchronization/barrier.h
/usr/include/clc/synchronization/cl_mem_fence_flags.h
/usr/include/clc/workitem
/usr/include/clc/workitem/get_global_id.h
/usr/include/clc/workitem/get_global_offset.h
/usr/include/clc/workitem/get_global_size.h
/usr/include/clc/workitem/get_group_id.h
/usr/include/clc/workitem/get_local_id.h
/usr/include/clc/workitem/get_local_size.h
/usr/include/clc/workitem/get_num_groups.h
/usr/include/clc/workitem/get_work_dim.h
/usr/lib64/clc
/usr/lib64/clc/amdgcn--amdhsa.bc
/usr/lib64/clc/aruba-r600--.bc
/usr/lib64/clc/barts-r600--.bc
/usr/lib64/clc/bonaire-amdgcn--.bc
/usr/lib64/clc/bonaire-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/caicos-r600--.bc
/usr/lib64/clc/carrizo-amdgcn--.bc
/usr/lib64/clc/carrizo-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/cayman-r600--.bc
/usr/lib64/clc/cedar-r600--.bc
/usr/lib64/clc/clspv--.bc
/usr/lib64/clc/clspv64--.bc
/usr/lib64/clc/cypress-r600--.bc
/usr/lib64/clc/fiji-amdgcn--.bc
/usr/lib64/clc/fiji-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/gfx900-amdgcn--.bc
/usr/lib64/clc/gfx900-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/gfx902-amdgcn--.bc
/usr/lib64/clc/gfx902-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/gfx904-amdgcn--.bc
/usr/lib64/clc/gfx904-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/gfx906-amdgcn--.bc
/usr/lib64/clc/gfx906-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/hainan-amdgcn--.bc
/usr/lib64/clc/hainan-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/hawaii-amdgcn--.bc
/usr/lib64/clc/hawaii-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/hemlock-r600--.bc
/usr/lib64/clc/iceland-amdgcn--.bc
/usr/lib64/clc/iceland-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/juniper-r600--.bc
/usr/lib64/clc/kabini-amdgcn--.bc
/usr/lib64/clc/kabini-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/kaveri-amdgcn--.bc
/usr/lib64/clc/kaveri-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/mullins-amdgcn--.bc
/usr/lib64/clc/mullins-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/nvptx--.bc
/usr/lib64/clc/nvptx--nvidiacl.bc
/usr/lib64/clc/nvptx64--.bc
/usr/lib64/clc/nvptx64--nvidiacl.bc
/usr/lib64/clc/oland-amdgcn--.bc
/usr/lib64/clc/oland-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/palm-r600--.bc
/usr/lib64/clc/pitcairn-amdgcn--.bc
/usr/lib64/clc/pitcairn-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/polaris10-amdgcn--.bc
/usr/lib64/clc/polaris10-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/polaris11-amdgcn--.bc
/usr/lib64/clc/polaris11-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/redwood-r600--.bc
/usr/lib64/clc/spirv-mesa3d-.spv
/usr/lib64/clc/spirv64-mesa3d-.spv
/usr/lib64/clc/stoney-amdgcn--.bc
/usr/lib64/clc/stoney-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/sumo-r600--.bc
/usr/lib64/clc/sumo2-r600--.bc
/usr/lib64/clc/tahiti-amdgcn--.bc
/usr/lib64/clc/tahiti-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/tonga-amdgcn--.bc
/usr/lib64/clc/tonga-amdgcn-mesa-mesa3d.bc
/usr/lib64/clc/turks-r600--.bc
/usr/lib64/clc/verde-amdgcn--.bc
/usr/lib64/clc/verde-amdgcn-mesa-mesa3d.bc
/usr/share/doc/libclc
/usr/share/doc/libclc/CREDITS.TXT
/usr/share/doc/libclc/README.TXT
/usr/share/licenses/libclc
/usr/share/licenses/libclc/LICENSE.TXT

References

Summary

In this tutorial we learn how to install libclc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/include/clc /usr/include/clc/as_type.h /usr/include/clc/async /usr/include/clc/async/async_work_group_copy.h /usr/include/clc/async/async_work_group_copy.inc /usr/include/clc/async/async_work_group_strided_copy.h /usr/include/clc/async/async_work_group_strided_copy.inc /usr/include/clc/async/gentype.inc /usr/include/clc/async/prefetch.h /usr/include/clc/async/prefetch.inc /usr/include/clc/async/wait_group_events.h /usr/include/clc/atom_decl_int32.inc /usr/include/clc/atom_decl_int64.inc /usr/include/clc/atomic /usr/include/clc/atomic/atomic_add.h /usr/include/clc/atomic/atomic_and.h /usr/include/clc/atomic/atomic_cmpxchg.h /usr/include/clc/atomic/atomic_dec.h /usr/include/clc/atomic/atomic_decl.inc /usr/include/clc/atomic/atomic_inc.h /usr/include/clc/atomic/atomic_max.h /usr/include/clc/atomic/atomic_min.h /usr/include/clc/atomic/atomic_or.h /usr/include/clc/atomic/atomic_sub.h /usr/include/clc/atomic/atomic_xchg.h /usr/include/clc/atomic/atomic_xor.h /usr/include/clc/cl_khr_global_int32_base_atomics /usr/include/clc/cl_khr_global_int32_base_atomics/atom_add.h /usr/include/clc/cl_khr_global_int32_base_atomics/atom_cmpxchg.h /usr/include/clc/cl_khr_global_int32_base_atomics/atom_dec.h /usr/include/clc/cl_khr_global_int32_base_atomics/atom_inc.h /usr/include/clc/cl_khr_global_int32_base_atomics/atom_sub.h /usr/include/clc/cl_khr_global_int32_base_atomics/atom_xchg.h /usr/include/clc/cl_khr_global_int32_extended_atomics /usr/include/clc/cl_khr_global_int32_extended_atomics/atom_and.h /usr/include/clc/cl_khr_global_int32_extended_atomics/atom_max.h /usr/include/clc/cl_khr_global_int32_extended_atomics/atom_min.h /usr/include/clc/cl_khr_global_int32_extended_atomics/atom_or.h /usr/include/clc/cl_khr_global_int32_extended_atomics/atom_xor.h /usr/include/clc/cl_khr_int64_base_atomics /usr/include/clc/cl_khr_int64_base_atomics/atom_add.h /usr/include/clc/cl_khr_int64_base_atomics/atom_cmpxchg.h /usr/include/clc/cl_khr_int64_base_atomics/atom_dec.h /usr/include/clc/cl_khr_int64_base_atomics/atom_inc.h /usr/include/clc/cl_khr_int64_base_atomics/atom_sub.h /usr/include/clc/cl_khr_int64_base_atomics/atom_xchg.h /usr/include/clc/cl_khr_int64_extended_atomics /usr/include/clc/cl_khr_int64_extended_atomics/atom_and.h /usr/include/clc/cl_khr_int64_extended_atomics/atom_max.h /usr/include/clc/cl_khr_int64_extended_atomics/atom_min.h /usr/include/clc/cl_khr_int64_extended_atomics/atom_or.h /usr/include/clc/cl_khr_int64_extended_atomics/atom_xor.h /usr/include/clc/cl_khr_local_int32_base_atomics /usr/include/clc/cl_khr_local_int32_base_atomics/atom_add.h /usr/include/clc/cl_khr_local_int32_base_atomics/atom_cmpxchg.h /usr/include/clc/cl_khr_local_int32_base_atomics/atom_dec.h /usr/include/clc/cl_khr_local_int32_base_atomics/atom_inc.h /usr/include/clc/cl_khr_local_int32_base_atomics/atom_sub.h /usr/include/clc/cl_khr_local_int32_base_atomics/atom_xchg.h /usr/include/clc/cl_khr_local_int32_extended_atomics /usr/include/clc/cl_khr_local_int32_extended_atomics/atom_and.h /usr/include/clc/cl_khr_local_int32_extended_atomics/atom_max.h /usr/include/clc/cl_khr_local_int32_extended_atomics/atom_min.h /usr/include/clc/cl_khr_local_int32_extended_atomics/atom_or.h /usr/include/clc/cl_khr_local_int32_extended_atomics/atom_xor.h /usr/include/clc/clc.h /usr/include/clc/clcfunc.h /usr/include/clc/clcmacros.h /usr/include/clc/clctypes.h /usr/include/clc/common /usr/include/clc/common/degrees.h /usr/include/clc/common/degrees.inc /usr/include/clc/common/mix.h /usr/include/clc/common/mix.inc /usr/include/clc/common/radians.h /usr/include/clc/common/radians.inc /usr/include/clc/common/sign.h /usr/include/clc/common/smoothstep.h /usr/include/clc/common/smoothstep.inc /usr/include/clc/common/step.h /usr/include/clc/common/step.inc /usr/include/clc/convert.h /usr/include/clc/explicit_fence /usr/include/clc/explicit_fence/explicit_memory_fence.h /usr/include/clc/float /usr/include/clc/float/definitions.h /usr/include/clc/geometric /usr/include/clc/geometric/cross.h /usr/include/clc/geometric/distance.h /usr/include/clc/geometric/distance.inc /usr/include/clc/geometric/dot.h /usr/include/clc/geometric/dot.inc /usr/include/clc/geometric/fast_distance.h /usr/include/clc/geometric/fast_distance.inc /usr/include/clc/geometric/fast_length.h /usr/include/clc/geometric/fast_length.inc /usr/include/clc/geometric/fast_normalize.h /usr/include/clc/geometric/fast_normalize.inc /usr/include/clc/geometric/floatn.inc /usr/include/clc/geometric/length.h /usr/include/clc/geometric/length.inc /usr/include/clc/geometric/normalize.h /usr/include/clc/geometric/normalize.inc /usr/include/clc/image /usr/include/clc/image/image.h /usr/include/clc/image/image_defines.h /usr/include/clc/integer /usr/include/clc/integer/abs.h /usr/include/clc/integer/abs.inc /usr/include/clc/integer/abs_diff.h /usr/include/clc/integer/abs_diff.inc /usr/include/clc/integer/add_sat.h /usr/include/clc/integer/add_sat.inc /usr/include/clc/integer/clz.h /usr/include/clc/integer/clz.inc /usr/include/clc/integer/definitions.h /usr/include/clc/integer/gentype.inc /usr/include/clc/integer/hadd.h /usr/include/clc/integer/hadd.inc /usr/include/clc/integer/integer-gentype.inc /usr/include/clc/integer/mad24.h /usr/include/clc/integer/mad24.inc /usr/include/clc/integer/mad_hi.h /usr/include/clc/integer/mad_sat.h /usr/include/clc/integer/mad_sat.inc /usr/include/clc/integer/mul24.h /usr/include/clc/integer/mul24.inc /usr/include/clc/integer/mul_hi.h /usr/include/clc/integer/mul_hi.inc /usr/include/clc/integer/popcount.h /usr/include/clc/integer/rhadd.h /usr/include/clc/integer/rhadd.inc /usr/include/clc/integer/rotate.h /usr/include/clc/integer/rotate.inc /usr/include/clc/integer/sub_sat.h /usr/include/clc/integer/sub_sat.inc /usr/include/clc/integer/unary.inc /usr/include/clc/integer/upsample.h /usr/include/clc/math /usr/include/clc/math/acos.h /usr/include/clc/math/acosh.h /usr/include/clc/math/acospi.h /usr/include/clc/math/asin.h /usr/include/clc/math/asinh.h /usr/include/clc/math/asinpi.h /usr/include/clc/math/atan.h /usr/include/clc/math/atan2.h /usr/include/clc/math/atan2pi.h /usr/include/clc/math/atanh.h /usr/include/clc/math/atanpi.h /usr/include/clc/math/binary_decl.inc /usr/include/clc/math/binary_decl_tt.inc /usr/include/clc/math/cbrt.h /usr/include/clc/math/ceil.h /usr/include/clc/math/copysign.h /usr/include/clc/math/cos.h /usr/include/clc/math/cosh.h /usr/include/clc/math/cospi.h /usr/include/clc/math/erf.h /usr/include/clc/math/erfc.h /usr/include/clc/math/exp.h /usr/include/clc/math/exp10.h /usr/include/clc/math/exp2.h /usr/include/clc/math/expm1.h /usr/include/clc/math/fabs.h /usr/include/clc/math/fdim.h /usr/include/clc/math/floor.h /usr/include/clc/math/fma.h /usr/include/clc/math/fmax.h /usr/include/clc/math/fmin.h /usr/include/clc/math/fmod.h /usr/include/clc/math/fract.h /usr/include/clc/math/fract.inc /usr/include/clc/math/frexp.h /usr/include/clc/math/frexp.inc /usr/include/clc/math/gentype.inc /usr/include/clc/math/half_cos.h /usr/include/clc/math/half_divide.h /usr/include/clc/math/half_exp.h /usr/include/clc/math/half_exp10.h /usr/include/clc/math/half_exp2.h /usr/include/clc/math/half_log.h /usr/include/clc/math/half_log10.h /usr/include/clc/math/half_log2.h /usr/include/clc/math/half_powr.h /usr/include/clc/math/half_recip.h /usr/include/clc/math/half_rsqrt.h /usr/include/clc/math/half_sin.h /usr/include/clc/math/half_sqrt.h /usr/include/clc/math/half_tan.h /usr/include/clc/math/hypot.h /usr/include/clc/math/ilogb.h /usr/include/clc/math/ilogb.inc /usr/include/clc/math/ldexp.h /usr/include/clc/math/ldexp.inc /usr/include/clc/math/lgamma.h /usr/include/clc/math/lgamma_r.h /usr/include/clc/math/lgamma_r.inc /usr/include/clc/math/log.h /usr/include/clc/math/log10.h /usr/include/clc/math/log1p.h /usr/include/clc/math/log2.h /usr/include/clc/math/logb.h /usr/include/clc/math/mad.h /usr/include/clc/math/maxmag.h /usr/include/clc/math/minmag.h /usr/include/clc/math/modf.h /usr/include/clc/math/modf.inc /usr/include/clc/math/nan.h /usr/include/clc/math/nan.inc /usr/include/clc/math/native_cos.h /usr/include/clc/math/native_divide.h /usr/include/clc/math/native_exp.h /usr/include/clc/math/native_exp10.h /usr/include/clc/math/native_exp2.h /usr/include/clc/math/native_log.h /usr/include/clc/math/native_log10.h /usr/include/clc/math/native_log2.h /usr/include/clc/math/native_powr.h /usr/include/clc/math/native_recip.h /usr/include/clc/math/native_rsqrt.h /usr/include/clc/math/native_sin.h /usr/include/clc/math/native_sqrt.h /usr/include/clc/math/native_tan.h /usr/include/clc/math/nextafter.h /usr/include/clc/math/pow.h /usr/include/clc/math/pown.h /usr/include/clc/math/pown.inc /usr/include/clc/math/powr.h /usr/include/clc/math/remainder.h /usr/include/clc/math/remquo.h /usr/include/clc/math/remquo.inc /usr/include/clc/math/rint.h /usr/include/clc/math/rootn.h /usr/include/clc/math/rootn.inc /usr/include/clc/math/round.h /usr/include/clc/math/rsqrt.h /usr/include/clc/math/sin.h /usr/include/clc/math/sincos.h /usr/include/clc/math/sincos.inc /usr/include/clc/math/sinh.h /usr/include/clc/math/sinpi.h /usr/include/clc/math/sqrt.h /usr/include/clc/math/tan.h /usr/include/clc/math/tanh.h /usr/include/clc/math/tanpi.h /usr/include/clc/math/ternary_decl.inc /usr/include/clc/math/tgamma.h /usr/include/clc/math/trunc.h /usr/include/clc/math/unary_decl.inc /usr/include/clc/misc /usr/include/clc/misc/shuffle.h /usr/include/clc/misc/shuffle2.h /usr/include/clc/relational /usr/include/clc/relational/all.h /usr/include/clc/relational/any.h /usr/include/clc/relational/binary_decl.inc /usr/include/clc/relational/bitselect.h /usr/include/clc/relational/bitselect.inc /usr/include/clc/relational/floatn.inc /usr/include/clc/relational/isequal.h /usr/include/clc/relational/isfinite.h /usr/include/clc/relational/isgreater.h /usr/include/clc/relational/isgreaterequal.h /usr/include/clc/relational/isinf.h /usr/include/clc/relational/isless.h /usr/include/clc/relational/islessequal.h /usr/include/clc/relational/islessgreater.h /usr/include/clc/relational/isnan.h /usr/include/clc/relational/isnormal.h /usr/include/clc/relational/isnotequal.h /usr/include/clc/relational/isordered.h /usr/include/clc/relational/isunordered.h /usr/include/clc/relational/select.h /usr/include/clc/relational/select.inc /usr/include/clc/relational/signbit.h /usr/include/clc/relational/unary_decl.inc /usr/include/clc/shared /usr/include/clc/shared/clamp.h /usr/include/clc/shared/clamp.inc /usr/include/clc/shared/max.h /usr/include/clc/shared/max.inc /usr/include/clc/shared/min.h /usr/include/clc/shared/min.inc /usr/include/clc/shared/vload.h /usr/include/clc/shared/vstore.h /usr/include/clc/synchronization /usr/include/clc/synchronization/barrier.h /usr/include/clc/synchronization/cl_mem_fence_flags.h /usr/include/clc/workitem /usr/include/clc/workitem/get_global_id.h /usr/include/clc/workitem/get_global_offset.h /usr/include/clc/workitem/get_global_size.h /usr/include/clc/workitem/get_group_id.h /usr/include/clc/workitem/get_local_id.h /usr/include/clc/workitem/get_local_size.h /usr/include/clc/workitem/get_num_groups.h /usr/include/clc/workitem/get_work_dim.h /usr/lib/clc /usr/lib/clc/amdgcn–amdhsa.bc /usr/lib/clc/aruba-r600–.bc /usr/lib/clc/barts-r600–.bc /usr/lib/clc/bonaire-amdgcn–.bc /usr/lib/clc/bonaire-amdgcn-mesa-mesa3d.bc /usr/lib/clc/caicos-r600–.bc /usr/lib/clc/carrizo-amdgcn–.bc /usr/lib/clc/carrizo-amdgcn-mesa-mesa3d.bc /usr/lib/clc/cayman-r600–.bc /usr/lib/clc/cedar-r600–.bc /usr/lib/clc/clspv–.bc /usr/lib/clc/clspv64–.bc /usr/lib/clc/cypress-r600–.bc /usr/lib/clc/fiji-amdgcn–.bc /usr/lib/clc/fiji-amdgcn-mesa-mesa3d.bc /usr/lib/clc/gfx900-amdgcn–.bc /usr/lib/clc/gfx900-amdgcn-mesa-mesa3d.bc /usr/lib/clc/gfx902-amdgcn–.bc /usr/lib/clc/gfx902-amdgcn-mesa-mesa3d.bc /usr/lib/clc/gfx904-amdgcn–.bc /usr/lib/clc/gfx904-amdgcn-mesa-mesa3d.bc /usr/lib/clc/gfx906-amdgcn–.bc /usr/lib/clc/gfx906-amdgcn-mesa-mesa3d.bc /usr/lib/clc/hainan-amdgcn–.bc /usr/lib/clc/hainan-amdgcn-mesa-mesa3d.bc /usr/lib/clc/hawaii-amdgcn–.bc /usr/lib/clc/hawaii-amdgcn-mesa-mesa3d.bc /usr/lib/clc/hemlock-r600–.bc /usr/lib/clc/iceland-amdgcn–.bc /usr/lib/clc/iceland-amdgcn-mesa-mesa3d.bc /usr/lib/clc/juniper-r600–.bc /usr/lib/clc/kabini-amdgcn–.bc /usr/lib/clc/kabini-amdgcn-mesa-mesa3d.bc /usr/lib/clc/kaveri-amdgcn–.bc /usr/lib/clc/kaveri-amdgcn-mesa-mesa3d.bc /usr/lib/clc/mullins-amdgcn–.bc /usr/lib/clc/mullins-amdgcn-mesa-mesa3d.bc /usr/lib/clc/nvptx–.bc /usr/lib/clc/nvptx–nvidiacl.bc /usr/lib/clc/nvptx64–.bc /usr/lib/clc/nvptx64–nvidiacl.bc /usr/lib/clc/oland-amdgcn–.bc /usr/lib/clc/oland-amdgcn-mesa-mesa3d.bc /usr/lib/clc/palm-r600–.bc /usr/lib/clc/pitcairn-amdgcn–.bc /usr/lib/clc/pitcairn-amdgcn-mesa-mesa3d.bc /usr/lib/clc/polaris10-amdgcn–.bc /usr/lib/clc/polaris10-amdgcn-mesa-mesa3d.bc /usr/lib/clc/polaris11-amdgcn–.bc /usr/lib/clc/polaris11-amdgcn-mesa-mesa3d.bc /usr/lib/clc/redwood-r600–.bc /usr/lib/clc/spirv-mesa3d-.spv /usr/lib/clc/spirv64-mesa3d-.spv /usr/lib/clc/stoney-amdgcn–.bc /usr/lib/clc/stoney-amdgcn-mesa-mesa3d.bc /usr/lib/clc/sumo-r600–.bc /usr/lib/clc/sumo2-r600–.bc /usr/lib/clc/tahiti-amdgcn–.bc /usr/lib/clc/tahiti-amdgcn-mesa-mesa3d.bc /usr/lib/clc/tonga-amdgcn–.bc /usr/lib/clc/tonga-amdgcn-mesa-mesa3d.bc /usr/lib/clc/turks-r600–.bc /usr/lib/clc/verde-amdgcn–.bc /usr/lib/clc/verde-amdgcn-mesa-mesa3d.bc /usr/share/doc/libclc /usr/share/doc/libclc/CREDITS.TXT /usr/share/doc/libclc/README.TXT /usr/share/licenses/libclc /usr/share/licenses/libclc/LICENSE.TXT


## References

* [libclc website](https://libclc.llvm.org)

## Summary

In this tutorial we learn how to install `libclc` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).