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
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"fmt" | |
"io" | |
"log" | |
) |
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/include/core_api/imagefilm.h b/include/core_api/imagefilm.h | |
index 445883f..afe5e4d 100644 | |
--- a/include/core_api/imagefilm.h | |
+++ b/include/core_api/imagefilm.h | |
@@ -148,6 +148,7 @@ class YAFRAYCORE_EXPORT imageFilm_t | |
protected: | |
rgba2DImage_t *image; //!< rgba color buffer | |
+ rgba2DImage_t *lastimage; //!< rgba color buffer | |
gray2DImage_t *depthMap; //!< storage for z-buffer channel |
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
# Usage: python3.5 -i convert2lmdb.py train_samples test_samples /tmp/data.npy /tmp/result.npy trainsin_lmdb testsin_lmdb | |
# Example: python3.5 -i convert2lmdb.py 1000 -1 /tmp/data.npy /tmp/result.npy trainsin_lmdb testsin_lmdb | |
import numpy as np | |
import lmdb | |
import caffe | |
import sys | |
def np2lmdb(fname, arr): |
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
Number of platforms 2 | |
Platform Name Intel(R) OpenCL | |
Platform Vendor Intel(R) Corporation | |
Platform Version OpenCL 1.2 LINUX | |
Platform Profile FULL_PROFILE | |
Platform Extensions cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 | |
Platform Extensions function suffix INTEL | |
Platform Name Portable Computing Language | |
Platform Vendor The pocl project |
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
$ staging/test-short --gtest_filter=RowMajor_SmallRange/GEMM.sgemm/0 | |
Initialize OpenCL and clblas... | |
---- Intel | |
SetUp: about to create command queues | |
Test environment: | |
Device name: Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile | |
Device vendor: Intel | |
Platform (bit): Linux |
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
Number of platforms: 1 | |
Platform Profile: FULL_PROFILE | |
Platform Version: OpenCL 2.0 AMD-APP (1800.11) | |
Platform Name: AMD Accelerated Parallel Processing | |
Platform Vendor: Advanced Micro Devices, Inc. | |
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices | |
Platform Name: AMD Accelerated Parallel Processing | |
Number of devices: 3 |
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
// File: hello.c | |
// | |
// Abstract: A simple "Hello World" compute example showing basic usage of OpenCL which | |
// calculates the mathematical square (X[i] = pow(X[i],2)) for a buffer of | |
// floating point values. | |
// | |
// | |
// Version: <1.0> | |
// | |
// Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") |
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
__copyright__ = """ | |
Copyright (c) 2011, Eric Bainville | |
Copyright (c) 2015, Ilya Efimoff | |
All rights reserved. | |
""" | |
__license__ = """ | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. |
NewerOlder