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

How to use this program? #13

Open
zhonhel opened this issue Apr 8, 2022 · 3 comments
Open

How to use this program? #13

zhonhel opened this issue Apr 8, 2022 · 3 comments

Comments

@zhonhel
Copy link

zhonhel commented Apr 8, 2022

Hi all, I successfully built this project on Ubuntu following the instructions in README.

But I wonder how to use the CLSmith and cl_launcher binary?

Thank you very much!

@0152la
Copy link
Collaborator

0152la commented Apr 8, 2022

It's been years since I used this, so I don't have it available on hand to give a step-by-step guide, but the way I recall, was that you would use CLsmith to generate a fuzzed OpenCL program, and then you would use that as input to cl_launcher (alongside the other required information documented in the -h option, such as the OpenCL platform and device indices) to actually execute the fuzzed program.

@zhonhel
Copy link
Author

zhonhel commented Apr 8, 2022

@0152la
Thank for your reply.
I have tried to use it as you said.
But I don't know pass what arguments to platform and device parameters when run cl_launcher executable.
I will first go to learn how to run an ordinary OpenCL program first.

@afd
Copy link
Collaborator

afd commented Apr 19, 2022

Thanks for your interest in the tool! This artifact has some instructions:

https://multicore.doc.ic.ac.uk/tools/CLsmith/PLDI15/

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

3 participants