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

Check if the development branch which doesn't use doubles works with my GPU #49

Closed
tarelli opened this issue Jun 30, 2014 · 4 comments
Closed
Assignees

Comments

@tarelli
Copy link
Member

tarelli commented Jun 30, 2014

No description provided.

@tarelli tarelli self-assigned this Jun 30, 2014
@tarelli
Copy link
Member Author

tarelli commented Jun 30, 2014

@tarelli ping! Put this on the command line device=gpu. Let @skhayrulin know about outcome!

@wilzh40
Copy link
Member

wilzh40 commented Jul 25, 2014

If I run with device=gpu, it breaks, on macbook air. It's uptodate with origin/development

Wz-innogen:Smoothed-Particle-Hydrodynamics wilsonzhao$ ./build/Smoothed-Particle-Hydrodynamics device=gpu
CL_PLATFORM_VERSION [0]: OpenCL 1.2 (Apr 25 2014 22:04:25)
CL_CONTEXT_PLATFORM [0]: CL_DEVICE_NAME [0]: HD Graphics 4000

CL_CONTEXT_PLATFORM [0]: CL_DEVICE_MAX_WORK_GROUP_SIZE [0]: 512
CL_CONTEXT_PLATFORM [0]: CL_DEVICE_MAX_COMPUTE_UNITS [0]: 16
CL_CONTEXT_PLATFORM [0]: CL_DEVICE_GLOBAL_MEM_SIZE [0]: 0
CL_CONTEXT_PLATFORM [0]: CL_DEVICE_GLOBAL_MEM_CACHE_SIZE [0]: 0
CL_CONTEXT_PLATFORM 0: CL_DEVICE_LOCAL_MEM_SIZE [0]: 65536
Compilation failed:
:96:6: error: "Double precision floating point not supported by OpenCL implementation."
#error "Double precision floating point not supported by OpenCL implementation."`

@skhayrulin
Copy link
Member

Hi @wilzh40, you can try comment this lines it should turn off double precision extension. Please let me know if it works for you. On other devices on which I run Sibernetic didn't throw such error.

@wilzh40
Copy link
Member

wilzh40 commented Jul 30, 2014

It works for me now, but same bad FPS. I'll try running this on my laptop later with an actual GPU.

@slarson slarson closed this as completed Feb 11, 2018
@slarson slarson removed the ready label Feb 11, 2018
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

No branches or pull requests

4 participants