We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c5519f + e707b7f commit 35191a6Copy full SHA for 35191a6
1 file changed
Source/Cmlx/mlx/mlx/backend/metal/device.cpp
@@ -529,11 +529,6 @@ MTL::Library* Device::build_library_(const std::string& source_string) {
529
auto options = MTL::CompileOptions::alloc()->init();
530
options->setFastMathEnabled(false);
531
options->setLanguageVersion(get_metal_version());
532
-#ifndef NDEBUG
533
- if (options->languageVersion() >= MTL::LanguageVersion3_2) {
534
- options->setEnableLogging(true);
535
- }
536
-#endif
537
auto mtl_lib = device_->newLibrary(ns_code, options, &error);
538
options->release();
539
0 commit comments