oneCCL icon indicating copy to clipboard operation
oneCCL copied to clipboard

using namespace in header files

Open PovelikinRostislav opened this issue 4 years ago • 0 comments

It's a bad practice to inject using namespace into header files like in sycl_base.hpp:

using namespace std;
using namespace cl::sycl;
using namespace cl::sycl::access;

I'll submit a PR fixing this issue and other polishing stuff (absence of used headers in a list of include files in some examples) as soon as I get some free time.

PovelikinRostislav avatar Feb 11 '20 14:02 PovelikinRostislav