# cl compiler switch questoin

**URL:** <https://forums.developer.nvidia.com/t/cl-compiler-switch-questoin/133028>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [June 14, 2012, 3:16am UTC](https://forums.developer.nvidia.com/t/cl-compiler-switch-questoin/133028 "2012-06-14T03:16:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linas1](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Linas1](https://forums.developer.nvidia.com/u/Linas1)\
**Post date:** [June 14, 2012, 3:16am UTC](https://forums.developer.nvidia.com/t/cl-compiler-switch-questoin/133028/1 "2012-06-14T03:16:05Z")

</div>

currently I face some question relate to cl compiler switch

I have test many cl file , when I used command like "pgcl --opencl-flags  
 – " to genertae cl so file

I found no matter I used which compiler switch as below  
"  
-cl-denorms-are-zero  
-cl-fast-relaxed-math  
-cl-single-precision-constant  
-cl-strict-aliasing  
"  
the binary like default ( not add any compiler switch ) result

so do someone how to let above compiler switch to generate different cl binary
