Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed Feb 10, 2025
1 parent 2833c74 commit 4788c1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/backends/fallback/fallback_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ FallbackDevice::FallbackDevice(Context &&ctx) noexcept
#endif

// embree
_rtc_device = rtcNewDevice("frequency_level=simd128,isa=avx2,verbose=1");
_rtc_device = rtcNewDevice("frequency_level=simd128,verbose=1");
rtcSetDeviceErrorFunction(
_rtc_device,
[](void *, RTCError code, const char *message) {
Expand Down
7 changes: 2 additions & 5 deletions src/backends/fallback/fallback_shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,9 @@ FallbackShader::FallbackShader(FallbackDevice *device, const ShaderOption &optio
host->setCodeGenOptLevel(::llvm::CodeGenOptLevel::Aggressive);
#ifdef __aarch64__
host->addFeatures({"+neon"});
#else
host->addFeatures({"+avx2"});
#endif
// LUISA_INFO("LLVM JIT target: triplet = {}, features = {}.",
// host->getTargetTriple().str(),
// host->getFeatures().getString());
LUISA_VERBOSE("LLVM JIT target: triplet = {}, features = {}.",
host->getTargetTriple().str(), host->getFeatures().getString());
if (auto machine = host->createTargetMachine()) {
_target_machine = std::move(machine.get());
} else {
Expand Down

0 comments on commit 4788c1b

Please sign in to comment.