little tweaks, tomorrow/this week will hook up the arguments and data loading

This commit is contained in:
2016-08-29 21:31:04 -07:00
parent 5d9d3c4f4d
commit 0b9010b007
2 changed files with 7 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ int main(){
std::string in = "hello!!!!!!!!!!!!!!!!!!!!!";
cl_mem buff = clCreateBuffer(
c.getContext(), CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR,
sizeof(char) * 128, NULL, NULL);
sizeof(char) * 128, &in[0], NULL);
c.store_buffer(buff, "buffer_1");