wenju-he wrote: > https://github.com/llvm/llvm-project/blob/3c566a698ad0cb52ee814156f09ccdfa81266771/libclc/CMakeLists.txt#L297-L302
An unrelated question: @rjodinchr is the above restriction of not using generic implementations still necessary for spirv and clspv? My understanding is that all OpenCL builtins can be represented in SPIR-V. The earliest commit that adds the restriction is https://reviews.llvm.org/D77589 and its commit message mentioned `libclc: spirv: remove step/smoothstep apis not defined for SPIR-V`. But step and smoothstep are now defined in https://registry.khronos.org/SPIR-V/specs/1.0/OpenCL.ExtendedInstructionSet.100.html for SPIR-V. https://github.com/llvm/llvm-project/pull/183469 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
