Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. std::ifstream read_file("../OpenCLMatmul/matmul.cl");
  2. std::string code = "";
  3. std::string str = "";
  4. while (std::getline(read_file, str))
  5. {
  6. code += str;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement