Env
- test notebook
- Xeon Skylake (36 cores, 72 threads) >$7k (note: the link has half cores)
- Quadro P1000 $300
Model
- densenet121: 8M parameters
- feature image: 224x224x3, train epoch: 352, eval epoch: 40
Result
Search | |
삼체(소설) | |
최근 수정 시각: 2023-06-17 14:54:54 | |
삼체2007년 소설휴고상 수상작/최우수 장편성운상 수상 소설 | |
삼체의 주요 수상 이력 | |
휴고상 로고 |
Env
Model
Result
class Solution: | |
def maxCoins(self, nums): | |
""" | |
:type nums: List[int] | |
:rtype: int | |
""" | |
if not nums: return 0 | |
return self.sol_dp(nums) | |
return self.rec(nums) |
// refer to Mesa sample_2d_linear() in s_texfilter.c | |
// https://cs.chromium.org/chromium/src/third_party/mesa/src/src/mesa/swrast/s_texfilter.c?q=sample_2d_linear&sq=package:chromium | |
vec4 texture2D_bilinear(sampler2D sampler, vec2 tex_coord, vec2 tex_size) { | |
vec2 unit_texel = 1.0 / tex_size; | |
vec2 unnorm_tex_coord = (tex_coord * tex_size) - vec2(0.5); | |
vec2 f = fract(unnorm_tex_coord); | |
vec2 snap_tex_coord = (floor(unnorm_tex_coord) + vec2(0.5)) / tex_size; | |
vec4 s1 = texture2D(sampler, snap_tex_coord); | |
vec4 s2 = texture2D(sampler, snap_tex_coord + vec2(unit_texel.x, 0.)); | |
vec4 s3 = texture2D(sampler, snap_tex_coord + vec2(0., unit_texel.y)); |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp | |
@@ -4266,30 +4266,30 @@ void WebGLRenderingContextBase::texImage2D(GLenum target, GLint level, GLint int | |
// Go through the fast path doing a GPU-GPU textures copy without a readback to system memory if possible. | |
// Otherwise, it will fall back to the normal SW path. | |
- if (GL_TEXTURE_2D == target) { | |
- if (Extensions3DUtil::canUseCopyTextureCHROMIUM(target, internalformat, type, level) | |
- && video->copyVideoTextureToPlatformTexture(contextGL(), texture->object(), internalformat, type, m_unpackPremultiplyAlpha, m_unpackFlipY)) { | |
- return; | |
- } |
width:1 stride:64 | |
width:2 stride:64 | |
width:3 stride:64 | |
width:4 stride:64 | |
width:5 stride:64 | |
width:6 stride:64 | |
width:7 stride:64 | |
width:8 stride:64 | |
width:9 stride:64 | |
width:10 stride:64 |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc | |
index 1db7033..90be4b3 100644 | |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc | |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc | |
@@ -30,7 +30,8 @@ GpuMemoryBufferImplOzoneNativePixmap::GpuMemoryBufferImplOzoneNativePixmap( | |
const DestructionCallback& callback, | |
scoped_ptr<ui::ClientNativePixmap> pixmap) | |
: GpuMemoryBufferImpl(id, size, format, callback), | |
- pixmap_(std::move(pixmap)) {} | |
+ pixmap_(std::move(pixmap)), |
diff --git a/content/browser/vibration/vibration_message_filter.cc b/content/browser/vibration/vibration_message_filter.cc | |
index 3855aca..4ba86fc 100644 | |
--- a/content/browser/vibration/vibration_message_filter.cc | |
+++ b/content/browser/vibration/vibration_message_filter.cc | |
@@ -60,10 +60,8 @@ void VibrationMessageFilter::OnCancelVibration() { | |
provider_->CancelVibration(); | |
} | |
-#if !defined(OS_ANDROID) && !defined(OS_TIZEN_MOBILE) | |
// static |
execve("/usr/bin/wrt-installer", ["wrt-installer", "-i", "./Calculator_0.0.1_2013-09-03_17"...], [/* 20 vars */]) = 0 | |
brk(0) = 0x9988000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77a8000 | |
access("/etc/ld.so.preload", R_OK) = 0 | |
open("/etc/ld.so.preload", O_RDONLY) = 3 | |
fstat64(3, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0 | |
mmap2(NULL, 26, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb77a7000 | |
close(3) = 0 | |
open("/usr/lib/libsys-assert.so", O_RDONLY) = 3 |
[10/18066] SOLINK lib/libprotobuf_lite.so | |
FAILED: if [ ! -e lib/libprotobuf_lite.so -o ! -e lib/libprotobuf_lite.so.TOC ]; then c++ -shared -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -fuse-ld=gold -B/home/dshwang/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wl,--disable-new-dtags -m64 --sysroot=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot -L/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -L/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -L/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -Wl,-rpath-link=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-l |