search for: float32

Displaying 20 results from an estimated 23 matches for "float32".

Did you mean: float2
2011 Jun 01
2
Create Matrix with Float32 values
Dear R_Help: The following gives me a matrix with integer values. z= matrix(rep(10:1, each= 10), ncol= 10, byrow=TRUE)> str(z)?int [1:10, 1:10] 10 9 8 7 6 5 4 3 2 1 ... How do I specify that I want Float32 values instead. Thanks,Chris
2014 Feb 28
2
Tesla shader ISA question
Hello, I've recently run into an unknown bit in Tesla shaders, and was hoping you could shed some light on it. I believe they're related to clamping of some sort. Here are 2 examples (from diff shaders): a0000401 cc054780 cvt rpi f32 $r0 f32 $r2 [unknown: 00000000 00010000] a000060d 8c014780 cvt rni s32 $r3 f32 $r3 [unknown: 00000000 00010000] [This is intel-style syntax, cvt =
2009 Feb 05
0
[LLVMdev] 16 bit floats
...the core typesystem knows of the type, the codegen might not know how to emit operations on that type. now, of note: in my project (not LLVM based), float16 had not been supported directly (since it is not known to the CPU), rather, some loader and saver thunks were used which converted to/from float32 (this used as the 'internal' representation of the type). in most cases, I would think this would be faster than directly operating on the float16, since the CPU supports float32, but float16 would have to be emulated. (unless of course newer CPUs are adding native float16 support or sim...
2014 Dec 24
6
[RFC][FFT][Fixed-Point][NEON] NEON-Optimize Fixed-Point FFT?
Hi, I am working on DSP module of Ne10. I see there are fixed-point and floating-point FFT inside Opus. Is fixed-point FFT only a fall back for CPU without VFP? On ARMv7-A and ARMv8-A, benchmark result shows that fixed-point (int32) and floating-point (float32) FFT have similar performance. I guess fixed-point version is not often used on these platforms. Is it worth the effort to NEON-optimize fixed-point FFT? Best Regards, Phil Wang -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you...
2009 Feb 05
2
[LLVMdev] 16 bit floats
I need to support 16 bit floats for some operations, outside of datatypes.td and the constants class, is there anything else I will need to modify to add f16 support? Thanks, Micah Villmow Systems Engineer Advanced Technology & Performance Advanced Micro Devices Inc. S1-609 One AMD Place Sunnyvale, CA. 94085 P: 408-749-3966 -------------- next part -------------- An HTML
2009 Feb 05
3
[LLVMdev] 16 bit floats
...> type, the codegen might not know how to emit operations on that type. > > now, of note: > in my project (not LLVM based), float16 had not been supported > directly (since it is not known to the CPU), rather, some loader and > saver thunks were used which converted to/from float32 (this used as > the 'internal' representation of the type). in most cases, I would > think this would be faster than directly operating on the float16, > since the CPU supports float32, but float16 would have to be emulated. > > (unless of course newer CPUs are adding n...
2014 Apr 09
0
Tesla shader ISA question
Hi Ilia, sorry for the slow response. This isn't my area of expertise, but as I understand it: * You've correctly decoded both instructions: * The first is a float32-to-float32 conversion, applying ceil() * The second is a float32-to-signed-int32 conversion, rounding to the nearest even integer * For the {float,int}-to-{float,int} operations, bit 48 indicates whether the input is signed (1==signed), but that bit is ignored when the source format is...
2006 Jul 25
5
build problems with current xen unstable cpu.h vl.h:75 vl.c:24 cpu-all.h:122: error: syntax error before "float64"
...n/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:348: warning: return type defaults to `int'' /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h: In function `ldfl_le_p'': /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:349: error: `float32'' undeclared (first use in this function) /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:349: error: (Each undeclared identifier is reported only once /data/xen/build/xen-unstable.hg-3.0-20060725.5/tools/ioemu/cpu-all.h:349: error: for each function it appears in.) /da...
2019 Jan 16
2
optimizacion costos
Estimado Jesús Para Fernández En teoría es ese material, lo vi muy rápido y en la parte genética tiene cosas que biológicamente no son así, hay un libro de Falconer, Introducción a la genética cuantitativa, que tiene escrita la parte matemática, hay un abismo entre la biología y los ingenieros que se inspiran en la biología. Yo pensaba en la resolución de un problema real, aunque relativamente
2018 May 23
2
Comparing results of math function calls
Hello, Code: int f1(int a, int b) { return sqrt(a) > sqrt(b); } int f2(int a, int b) { return a > b; } Possibly, under -ffast-math (to ignore NaNs), f1 could be transformed to f2 variant. Also a transformation could support sin and tan, and reverse comparison for cos. Suggestions? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Nov 05
1
Using RGDAL to "copy" header information...
...fo(infile) nl=infile_info[[1]] ns=infile_info[[2]] for (row in 1:nl) { templine <- readGDAL(infile,region.dim=c(1,ns),offset=c(row-1,0)) writeBin(templine[[1]], outcon,size=4) } close(outcon) # Below doesn't work # writeGDAL(templine,outfile_base,drivername='EHdr',type="Float32") ### The issue is this: I need to be able to effectively copy the geographic/header information from the input file (the last line almost works, but as you can see it sets the line #s to 1, not "ns"), and parse it over to the output file (which is some form of a flat binary fil...
2009 Feb 05
0
[LLVMdev] 16 bit floats
...he core typesystem knows of the type, the codegen might not know how to emit operations on that type. now, of note: in my project (not LLVM based), float16 had not been supported directly (since it is not known to the CPU), rather, some loader and saver thunks were used which converted to/from float32 (this used as the 'internal' representation of the type). in most cases, I would think this would be faster than directly operating on the float16, since the CPU supports float32, but float16 would have to be emulated. (unless of course newer CPUs are adding native float16 support or si...
2002 Apr 02
0
AW: Ogg Vorbis and DirectSound streaming
BTW: You can pass also the float32 data directly to DirectSound instead of doing the conversion (float32->int16) yourself. Have a look at "WAVEFORMATEXTENSIBLE" in the Windows Platform SDK Tobias Waldvogel -----Ursprüngliche Nachricht----- Von: Martin Cesky [mailto:martin@scssoft.com] Gesendet: Dienstag, 2. April 200...
2011 Apr 27
0
[LLVMdev] confused about float literals
On Apr 27, 2011, at 1:03 AM, Joe Armstrong wrote: > But what is 0x400928F5C0000000? it is NOT the 64 bit representation > with the low order > 32 bits zeroed - it is the 62 bit representation with the low order 28 > bits zeroed. > > Why 28 bits? - 32 bits might be understandable but not 28. I bet the low 29 bits are zeroed. That is the difference between the 52 bit double
2008 May 31
0
FFT Resampler spectrograms
Using the following MATLAB snippet: fnames={'chirp','perfect','block','filter'} for k=1:length(fnames) fn=fnames{k}; myfile=fopen([fn, '.fl'], 'r', 'ieee-le'); x=fread(myfile, Inf, 'float32', 0, 'ieee-le'); fclose(myfile); X=specgram(x,2048,1,kaiser(2048,14)); spectrogram_floor=-96; pcolor(max(spectrogram_floor,20*log10(abs(X(end:-1:1,:))))); shading flat colorbar print('-dpng','-r300', [fn, '.png']) end ['Done']...
2020 Jul 04
0
vorbis 1.3.7 release
...: - Fix CVE-2018-10393 and CVE-2017-14160 out-of-bounds read encoding very low sample rates. - Fix handling invalid bytes per sample arguments. - Fix handling invalid channel count arguments. - Fix invalid free on seek failure. - Fix negative shift reading blocksize. - Fix accepting unreasonable float32 values. - Fix tag comparison depending on locale. - Fix unnecessarily linking libm. - Fix memory leak in test_sharedbook. - Update Visual Studio projects for ogg library filename change. - Distribute CMake build files with the source package. - Remove unnecessary configure --target switch. - Add gi...
2014 Dec 25
0
[RFC][FFT][Fixed-Point][NEON] NEON-Optimize Fixed-Point FFT?
> I am working on DSP module of Ne10. I see there are fixed-point and > floating-point FFT inside Opus. Is fixed-point FFT only a fall back for CPU > without VFP? On ARMv7-A and ARMv8-A, benchmark result shows that fixed-point > (int32) and floating-point (float32) FFT have similar performance. I guess > fixed-point version is not often used on these platforms. Is it worth the > effort to NEON-optimize fixed-point FFT? Floating point units are optional on the ARM Cortex-M series so I believe it might still be worth while. The Cortex-M3-7 are based on...
2014 Dec 25
0
[RFC][FFT][Fixed-Point][NEON] NEON-Optimize Fixed-Point FFT?
...e: > Hi, > > > > I am working on DSP module of Ne10. I see there are fixed-point and > floating-point FFT inside Opus. Is fixed-point FFT only a fall back for > CPU without VFP? On ARMv7-A and ARMv8-A, benchmark result shows that > fixed-point (int32) and floating-point (float32) FFT have similar > performance. I guess fixed-point version is not often used on these > platforms. Is it worth the effort to NEON-optimize fixed-point FFT? > > > > Best Regards, > > Phil Wang > > > -- IMPORTANT NOTICE: The contents of this email and any att...
2012 Sep 20
2
Xorg nvidia-driver GT 650M cause system reboot on my MacBook Retina 9.1RC1
...kernel: hdaa1: +-------------------+ Sep 20 15:40:31 rmbp kernel: hdaa1: Sep 20 15:40:31 rmbp kernel: hdaa1: Default Parameter Sep 20 15:40:31 rmbp kernel: hdaa1: ----------------- Sep 20 15:40:31 rmbp kernel: hdaa1: Stream cap: 0x00000003 Sep 20 15:40:31 rmbp kernel: hdaa1: FLOAT32 PCM Sep 20 15:40:31 rmbp kernel: hdaa1: PCM cap: 0x001e07f0 Sep 20 15:40:31 rmbp kernel: hdaa1: 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz Sep 20 15:40:31 rmbp kernel: hdaa1: IN amp: 0x00000000 Sep 20 15:40:31 rmbp kernel: hdaa1: OUT amp: 0x00000000 Sep 2...
2011 Apr 27
3
[LLVMdev] confused about float literals
On Wed, Apr 27, 2011 at 12:51 AM, John McCall <rjmccall at apple.com> wrote: > On Apr 26, 2011, at 2:07 AM, Joe Armstrong wrote: >> Compiles (via clang) to: >> >>  ; ModuleID = 'test101.c' >>  target datalayout = >>