-
Notifications
You must be signed in to change notification settings - Fork 1
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 load the bin file in the library you made #1
Comments
Thanks for the question. function TCLProgra<TCLSystem_,TCLPlatfo_,TCLContex_,TCLProgras_>.CreateHandle :T_cl_int;
var
C :P_char;
begin
C := P_char( AnsiString( _Source.Text ) );
_Handle := clCreateProgramWithSource( TCLContex<TCLSystem_,TCLPlatfo_>( Contex ).Handle, 1, @C, nil, @Result );
end; |
Thank you very much for your answer. I'll try some according to your idea tomorrow Can I save the binary kernel modules that have been compiled successfully at the same time? Thank you for your reply. |
The API called "clGetProgramInfo" allows you to get the compiled binary after building the text source. |
I tried several times and failed. I hope you have time to study it. I'm not very familiar with OpenCL |
Hello, I have a question to ask. Why didn't I see the way to load the bin file in the library you made. Only see how to load the source text
The text was updated successfully, but these errors were encountered: