You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At line 128, the function call FILE* f = fopen(ffp.c_str(), "we"); uses 'e' in the mode string, which is a nonstandard extension provided by glibc 2.3+.
This causes the call to fail for the windows binary.
My installation of ArrayFire is the v3.9.0 release, installed with the provided installer at arrayfire.com.
The 'e' flag makes sure the file handle is released when one of the exec functions are called to replace the current process on Linux. This is unnecessary for windows as windows processes are not forked like in Linux.
The text was updated successfully, but these errors were encountered:
Setting environment variable
AF_JIT_KERNEL_TRACE
to an absolute path on windows fails. Usingstdout
andstderr
both function as expected.I've traced the issue back to src/backend/common/util.cpp, in the
saveKernel
function.At line 128, the function call
FILE* f = fopen(ffp.c_str(), "we");
uses 'e' in the mode string, which is a nonstandard extension provided by glibc 2.3+.This causes the call to fail for the windows binary.
My installation of ArrayFire is the v3.9.0 release, installed with the provided installer at arrayfire.com.
The 'e' flag makes sure the file handle is released when one of the
exec
functions are called to replace the current process on Linux. This is unnecessary for windows as windows processes are not forked like in Linux.The text was updated successfully, but these errors were encountered: