Created
December 10, 2013 04:45
-
-
Save tonikitoo/7885847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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