Skip to content

Instantly share code, notes, and snippets.

@tonikitoo
Created December 10, 2013 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonikitoo/7885847 to your computer and use it in GitHub Desktop.
Save tonikitoo/7885847 to your computer and use it in GitHub Desktop.
diff --git a/conformance/functionalityTesting/createKernelsInProgram.html b/conformance/functionalityTesting/createKernelsInProgram.html
index 472fc04..1f0221f 100644
--- a/conformance/functionalityTesting/createKernelsInProgram.html
+++ b/conformance/functionalityTesting/createKernelsInProgram.html
@@ -89,7 +89,7 @@ try {
var data_float = new Float32Array(SIZE);
var data_square = new Float32Array(SIZE);
var result = new Float32Array(SIZE);
- var result_2 = new Float32Array(SIZE);
+ var result_2 = new Int32Array(SIZE);
/*
* Testing for "kernel : sample_copy_kernel"
@@ -223,6 +223,8 @@ try {
data_float[i] = Math.random() * 10;
}
try {
+ result = new Float32Array(SIZE);
+
kernelSource = wtu.readKernel("../../resources/kernels/square.cl");
kernelSource = kernelSource.concat(wtu.readKernel("../../resources/kernels/sample_single_kernel.cl"));
resultObject = getKernels(webCLContext, kernelSource, webCLDevices, ["square" , "sample_single_kernel"], [3, 2]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment