libclc_add_sources(${LIBCLC_CLC_TARGET} FILES
  address_space/clc_qualifier.cl
  math/clc_cbrt.cl
  math/clc_exp.cl
  math/clc_exp2.cl
  math/clc_exp2_fast.cl
  math/clc_exp10.cl
  math/clc_fmod.cl
  math/clc_frexp.cl
  math/clc_half_exp.cl
  math/clc_half_exp2.cl
  math/clc_half_exp10.cl
  math/clc_half_log.cl
  math/clc_half_log2.cl
  math/clc_half_log10.cl
  math/clc_half_recip.cl
  math/clc_half_rsqrt.cl
  math/clc_half_sqrt.cl
  math/clc_get_twobypi_bits.cl
  math/clc_ldexp.cl
  math/clc_log.cl
  math/clc_log10.cl
  math/clc_log2.cl
  math/clc_log2_fast.cl
  math/clc_native_exp.cl
  math/clc_native_exp2.cl
  math/clc_native_log10.cl
  mem_fence/clc_mem_fence.cl
  subgroup/clc_subgroup.cl
  subgroup/clc_sub_group_broadcast.cl
  subgroup/clc_sub_group_non_uniform_reduce.cl
  subgroup/clc_sub_group_reduce.cl
  subgroup/clc_sub_group_scan.cl
  synchronization/clc_sub_group_barrier.cl
  synchronization/clc_work_group_barrier.cl
  workitem/clc_get_enqueued_local_size.cl
  workitem/clc_get_global_offset.cl
  workitem/clc_get_global_size.cl
  workitem/clc_get_group_id.cl
  workitem/clc_get_local_id.cl
  workitem/clc_get_local_size.cl
  workitem/clc_get_max_sub_group_size.cl
  workitem/clc_get_num_groups.cl
  workitem/clc_get_num_sub_groups.cl
  workitem/clc_get_sub_group_id.cl
  workitem/clc_get_sub_group_size.cl
  workitem/clc_get_work_dim.cl
)

libclc_set_source_options(-fapprox-func
  math/clc_native_exp.cl
  math/clc_native_exp2.cl
  math/clc_native_log10.cl
)
