Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor bugfixes #601

Merged
merged 14 commits into from Jan 11, 2018
Merged

Minor bugfixes #601

merged 14 commits into from Jan 11, 2018

Conversation

franz
Copy link
Contributor

@franz franz commented Jan 11, 2018

Bunch of various small issues fixed

This was a workaround for an OpenCL bug in LLVM 3.3
Thish should be a check for compiler files, not POCL_DEBUG.
This fails with the additional asserts from previous commit.
Also it's just wrong :)
When used with env variable ASAN_OPTIONS=halt_on_error=0, this
should enable ASAN builds to continue after first error - unlike
the default which is to exit after first error.
Simplifies printf.c to not require math.h, which was conflicting
with pocl-types.h in case cl_khr_fp64 was disabled.

Also fixes CMake variable ENABLE_FP64 to properly disable
doubles. Pocl now builds with -DENABLE_FP64=OFF on 32bit ARM.
due to how the test is written, TSan will inevitably complain.
(float)(double literal) complains when cl_khr_fp64 is disabled
LL_PREPEND(head, item) changes the head (env_cache) on every call,
which conflicts with other threads calling find_env() with env_cache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants