michaeldsmith

Results 42 comments of michaeldsmith

If the seg fault is caused by the presence of placeholder passes, one idea is that you could read the number of layers field in SGcod, and if the value...

The AddressSanitizer error does not occur if optimization is disabled by changing -O1 to -O0 in the CMakeLists asan build type as follows: ``` set(CMAKE_CXX_FLAGS_ASAN "-fsanitize=address -fno-optimize-sibling-calls -fsanitize-address-use-after-scope -fno-omit-frame-pointer -g...

I've noticed some calls to `alloca()` in CTL, which is a function that allocates memory on the stack instead of heap. I also noticed this note about silent failure in...

The reported AddressSanitizer error does not occur if lines 61-62 of file /lib/IlmCtlSimd/CtlSimdInst.cpp are changed from: ``` #include #include ``` to: ``` #pragma GCC push_options #pragma GCC optimize ("O0") #include...

The reported AddressSanitizer error does not occur if lines 87-88 of file /lib/IlmCtlSimd/CtlSimdInst.h are compiled without optimization by changing ``` void executePath (SimdBoolMask &mask, SimdXContext &xcontext) const; ``` to ```...

The reported AddressSanitizer error occurs when unittest `IlmCtlTest `processes line 96 of /unittest/IlmCtl/testVSArrays.ctl that calls the CTL code function `empty()` ``` int emptyA[1][2][3]; empty(emptyA); ``` CTL function `empty()` on lines...

To avoid attempting to call a function that has been optimized out, like CTL function `empty()` on lines 56-60 /unittest/IlmCtl/testVSArrays.ctl , a check can be added to SimdCallInst::execute() before calling...

A similar type of check can be added to SimdCallBranchInst::execute() on line 240 of /lib/IlmCtlSimd/CtlSimdInst.cpp where `_truePath->execute(mask, xcontext) `appears, change it to ``` if( 0 != _truePath ) _truePath->executePath (mask,...

Hi - I volunteered to be the maintainer of CTL earlier this year. So far I've focused on fixing the bugs that impacted my own usage of CTL and ctlrender...

@aforsythe I'm getting a github 404 on your aces-unit-test repo page ![image](https://github.com/ampas/CTL/assets/37905569/3723a115-075a-4910-974d-1260144fe931)