Closed emankov closed 7 years ago
Feature in LLVM: https://reviews.llvm.org/rL311887
[Support][CommandLine] Add cl::Option::setDefault()
Add abstract virtual method setDefault() to class Option and implement it in its inheritors in order to be able to set all the options to its default values in user's code without actually knowing all these options.
Testing: ocl conformance 1.2 api, atomics, basic, buffers, commonfns, compiler, vec_align (with AMD_OCL_IN_PROCESS=1)
Feature in LLVM: https://reviews.llvm.org/rL311887
[Support][CommandLine] Add cl::Option::setDefault()
Add abstract virtual method setDefault() to class Option and implement it in its inheritors in order to be able to set all the options to its default values in user's code without actually knowing all these options.
Testing: ocl conformance 1.2 api, atomics, basic, buffers, commonfns, compiler, vec_align (with AMD_OCL_IN_PROCESS=1)